home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The School House •
/
MacMorse 1.0B •••
/
MacMorse 1.0B еее.rsrc
/
CODE_5.txt
< prev
next >
Wrap
Text File
|
1986-10-28
|
630KB
|
11,475 lines
# near model CODE resource
# jump table entries: 192-234 (43 of them)
export_24:
00000000 4E71 nop
00000002 4EFA 0174 jmp [PC + 0x174 /* 00000178 */]
export_25:
00000006 4EBA 3886 jsr [PC + 0x3886 /* 0000388E */]
0000000A 4EFA 23F4 jmp [PC + 0x23F4 /* 00002400 */]
export_32:
0000000E 50ED F7BD st [A5 - 0x843]
00000012 3F3C 00FF move.w -[A7], 0xFF
00000016 A936 syscall DeleteMenu
00000018 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
0000001C A932 syscall DisposeMenu
0000001E 598F subq.l A7, 4
00000020 3F3C 00FF move.w -[A7], 0xFF
00000024 487A 12E2 pea.l [PC + 0x12E2 /* 00001308, value 0x1140026 */]
00000028 A931 syscall NewMenu
0000002A 2B5F FDB4 move.l [A5 - 0x24C], [A7]+
0000002E 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
00000032 486D F90E pea.l [A5 - 0x6F2]
00000036 A933 syscall AppendMenu
00000038 426D F90E clr.w [A5 - 0x6F2]
0000003C 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
00000040 487A 5D88 pea.l [PC + 0x5D88 /* 00005DCA, value 0x2282D00, pstring "(-" */]
00000044 A933 syscall AppendMenu
00000046 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
0000004A 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00000050 A94D syscall AppendResMenu/AddResMenu
00000052 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
00000056 4AAD F824 tst.l [A5 - 0x7DC]
0000005A 671C beq +0x1E /* 00000078 */
0000005C 246D F824 movea.l A2, [A5 - 0x7DC]
00000060 4240 clr.w D0
label00000062:
00000062 5240 addq.w D0, 1
00000064 0C40 0014 cmpi.w D0, 0x14
00000068 620A bhi +0xC /* 00000074 */
0000006A 3200 move.w D1, D0
0000006C E749 lsl D1.w, 3
0000006E 4AB2 1004 tst.l [A2 + D1.w + 0x4]
00000072 67EE beq -0x10 /* 00000062 */
label00000074:
00000074 3F00 move.w -[A7], D0
00000076 6004 bra +0x6 /* 0000007C */
label00000078:
00000078 3F3C 0001 move.w -[A7], 0x1
label0000007C:
0000007C A935 syscall InsertMenu
0000007E 4E75 rts
00000080 4AAD F824 tst.l [A5 - 0x7DC]
00000084 6734 beq +0x36 /* 000000BA */
00000086 A934 syscall ClearMenuBar
00000088 246D F824 movea.l A2, [A5 - 0x7DC]
0000008C 4243 clr.w D3
label0000008E:
0000008E 5243 addq.w D3, 1
00000090 0C43 0014 cmpi.w D3, 0x14
00000094 6212 bhi +0x14 /* 000000A8 */
00000096 3203 move.w D1, D3
00000098 E749 lsl D1.w, 3
0000009A 4AB2 1004 tst.l [A2 + D1.w + 0x4]
0000009E 67EE beq -0x10 /* 0000008E */
000000A0 2F32 1004 move.l -[A7], [A2 + D1.w + 0x4]
000000A4 A932 syscall DisposeMenu
000000A6 60E6 bra -0x18 /* 0000008E */
label000000A8:
000000A8 204A movea.l A0, A2
000000AA A01F syscall DisposPtr/DisposePtr
000000AC 42AD F824 clr.l [A5 - 0x7DC]
000000B0 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
000000B4 4267 clr.w -[A7]
000000B6 A935 syscall InsertMenu
000000B8 A937 syscall DrawMenuBar
label000000BA:
000000BA 4E75 rts
fn000000BC:
000000BC 598F subq.l A7, 4
000000BE 3F3C 00FF move.w -[A7], 0xFF
000000C2 487A 1244 pea.l [PC + 0x1244 /* 00001308, value 0x1140026 */]
000000C6 A931 syscall NewMenu
000000C8 2B57 FDB4 move.l [A5 - 0x24C], [A7]
000000CC 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
000000D2 A94D syscall AppendResMenu/AddResMenu
000000D4 4E75 rts
000000D6 2E6D F70E movea.l A7, [A5 - 0x8F2]
000000DA 4EBA 004E jsr [PC + 0x4E /* 0000012A */]
000000DE 2F2D F902 move.l -[A7], [A5 - 0x6FE]
000000E2 A915 syscall ShowWindow
000000E4 600A bra +0xC /* 000000F0 */
000000E6 7206 moveq.l D1, 0x06
000000E8 6002 bra +0x4 /* 000000EC */
000000EA 7209 moveq.l D1, 0x09
label000000EC:
000000EC 4EBA 3384 jsr [PC + 0x3384 /* 00003472 */]
label000000F0:
000000F0 4EBA 0086 jsr [PC + 0x86 /* 00000178 */]
000000F4 487A 002A pea.l [PC + 0x2A /* 00000120, value 0x61082E6D */]
000000F8 2B4F F70E move.l [A5 - 0x8F2], A7
000000FC 4A2D F6CD tst.b [A5 - 0x933]
00000100 6716 beq +0x18 /* 00000118 */
00000102 598F subq.l A7, 4
00000104 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000010A 3F3C 0080 move.w -[A7], 0x80
0000010E A9A0 syscall GetResource
00000110 205F movea.l A0, [A7]+
00000112 2050 movea.l A0, [A0]
00000114 4EE8 0004 jmp [A0 + 0x4]
label00000118:
00000118 206D FD42 movea.l A0, [A5 - 0x2BE]
0000011C 2050 movea.l A0, [A0]
0000011E 4ED0 jmp [A0]
00000120 6108 bsr +0xA /* 0000012A */
00000122 2E6D F70E movea.l A7, [A5 - 0x8F2]
00000126 4EED 110A jmp [A5 + 0x110A /* export_541 */]
fn0000012A:
0000012A 4EBA 010C jsr [PC + 0x10C /* 00000238 */]
0000012E 4EBA 22D0 jsr [PC + 0x22D0 /* 00002400 */]
00000132 70FF moveq.l D0, 0xFFFFFFFF
00000134 4EBA 71B6 jsr [PC + 0x71B6 /* 000072EC */]
00000138 426D F7EA clr.w [A5 - 0x816]
0000013C 4EBA 3750 jsr [PC + 0x3750 /* 0000388E */]
00000140 4AAD F824 tst.l [A5 - 0x7DC]
00000144 6704 beq +0x6 /* 0000014A */
00000146 4EBA 016A jsr [PC + 0x16A /* 000002B2 */]
label0000014A:
0000014A 4EBA 0188 jsr [PC + 0x188 /* 000002D4 */]
0000014E 2F2D F902 move.l -[A7], [A5 - 0x6FE]
00000152 A956 syscall KillControls
00000154 422D F81B clr.b [A5 - 0x7E5]
00000158 206D F7C6 movea.l A0, [A5 - 0x83A]
0000015C A01F syscall DisposPtr/DisposePtr
0000015E 3F3C 00FF move.w -[A7], 0xFF
00000162 A936 syscall DeleteMenu
00000164 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
00000168 A932 syscall DisposeMenu
0000016A 203C 0000 FFFF move.l D0, 0xFFFF
00000170 A032 syscall FlushEvents
00000172 422D F84F clr.b [A5 - 0x7B1]
00000176 4E75 rts
fn00000178:
00000178 31FC FFFF 0A9A move.w [0x00000A9A /* ACount */], 0xFFFF
0000017E 50ED F75B st [A5 - 0x8A5]
00000182 487A 00F2 pea.l [PC + 0xF2 /* 00000276, value 0x487A10FA */]
00000186 203C 0000 0100 move.l D0, 0x100
0000018C A31E syscall NewPtrClear, flags=3
0000018E 6702 beq +0x4 /* 00000192 */
00000190 4E75 rts
label00000192:
00000192 2B48 F7EC move.l [A5 - 0x814], A0
00000196 20AD F902 move.l [A0], [A5 - 0x6FE]
0000019A 598F subq.l A7, 4
0000019C 487A 5BAC pea.l [PC + 0x5BAC /* 00005D4A, value 0x0, cstring "" */]
000001A0 206D F902 movea.l A0, [A5 - 0x6FE]
000001A4 4868 0010 pea.l [A0 + 0x10]
000001A8 A9D2 syscall TENew
000001AA 206D F7EC movea.l A0, [A5 - 0x814]
000001AE 215F 0008 move.l [A0 + 0x8], [A7]+
000001B2 487A 118A pea.l [PC + 0x118A /* 0000133E, value 0x85A4441, pstring "ZDATZBAS" */]
000001B6 2B5F FD36 move.l [A5 - 0x2CA], [A7]+
000001BA 487A 118C pea.l [PC + 0x118C /* 00001348, value 0xA46696C '\nFil', pstring "File Name?" */]
000001BE 2B5F FD3A move.l [A5 - 0x2C6], [A7]+
000001C2 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
000001C6 4EBA 01BE jsr [PC + 0x1BE /* 00000386 */]
000001CA 2B6D FD66 FD46 move.l [A5 - 0x2BA], [A5 - 0x29A]
000001D0 487A 42B8 pea.l [PC + 0x42B8 /* 0000448A, value 0x2040223C ' @\"<', cstring " @\"<" */]
000001D4 2B5F F6F0 move.l [A5 - 0x910], [A7]+
000001D8 6100 FEE2 bsr -0x11C /* 000000BC */
000001DC 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
000001E0 4267 clr.w -[A7]
000001E2 A935 syscall InsertMenu
000001E4 A937 syscall DrawMenuBar
label000001E6:
000001E6 202D FD4E move.l D0, [A5 - 0x2B2]
000001EA 670E beq +0x10 /* 000001FA */
000001EC A322 syscall NewHandleClear, flags=3
000001EE 6600 0084 bne +0x86 /* 00000274 */
000001F2 A029 syscall HLock
000001F4 2050 movea.l A0, [A0]
000001F6 2B48 FD6A move.l [A5 - 0x296], A0
label000001FA:
000001FA 202D FD52 move.l D0, [A5 - 0x2AE]
000001FE 6714 beq +0x16 /* 00000214 */
00000200 A322 syscall NewHandleClear, flags=3
00000202 6600 005C bne +0x5E /* 00000260 */
00000206 A029 syscall HLock
00000208 2050 movea.l A0, [A0]
0000020A 4DE8 7FFF lea.l A6, [A0 + 0x7FFF]
0000020E 528E addq.l A6, 1
00000210 2B4E FD5E move.l [A5 - 0x2A2], A6
label00000214:
00000214 202D FD56 move.l D0, [A5 - 0x2AA]
00000218 6714 beq +0x16 /* 0000022E */
0000021A A322 syscall NewHandleClear, flags=3
0000021C 6600 002E bne +0x30 /* 0000024C */
00000220 A029 syscall HLock
00000222 2050 movea.l A0, [A0]
00000224 49E8 7FFF lea.l A4, [A0 + 0x7FFF]
00000228 528C addq.l A4, 1
0000022A 2B4C FD5A move.l [A5 - 0x2A6], A4
label0000022E:
0000022E 588F addq.l A7, 4
00000230 4E75 rts
export_42:
label00000232:
00000232 2E6D F70E movea.l A7, [A5 - 0x8F2]
00000236 4E75 rts
fn00000238:
00000238 4AAD FD5A tst.l [A5 - 0x2A6]
0000023C 670E beq +0x10 /* 0000024C */
0000023E 41EC 8000 lea.l A0, [A4 - 0x8000]
00000242 A128 syscall RecoverHandle, flags=1
00000244 A02A syscall HUnlock
00000246 A023 syscall DisposHandle/DisposeHandle
00000248 42AD FD5A clr.l [A5 - 0x2A6]
label0000024C:
0000024C 4AAD FD5E tst.l [A5 - 0x2A2]
00000250 670E beq +0x10 /* 00000260 */
00000252 41EE 8000 lea.l A0, [A6 - 0x8000]
00000256 A128 syscall RecoverHandle, flags=1
00000258 A02A syscall HUnlock
0000025A A023 syscall DisposHandle/DisposeHandle
0000025C 42AD FD5E clr.l [A5 - 0x2A2]
label00000260:
00000260 4AAD FD6A tst.l [A5 - 0x296]
00000264 670E beq +0x10 /* 00000274 */
00000266 206D FD6A movea.l A0, [A5 - 0x296]
0000026A A128 syscall RecoverHandle, flags=1
0000026C A02A syscall HUnlock
0000026E A023 syscall DisposHandle/DisposeHandle
00000270 42AD FD6A clr.l [A5 - 0x296]
label00000274:
00000274 4E75 rts
label00000276:
00000276 487A 10FA pea.l [PC + 0x10FA /* 00001372, value 0xE4F7574, pstring "Out of Memory!" */]
0000027A 487A 1105 pea.l [PC + 0x1105 /* 00001381, value 0x1743616E, pstring "Cannot Execute Program!" */]
0000027E 487A 10BC pea.l [PC + 0x10BC /* 0000133C, value 0x85A, cstring "" */]
00000282 487A 10B8 pea.l [PC + 0x10B8 /* 0000133C, value 0x85A, cstring "" */]
00000286 A98B syscall ParamText
00000288 558F subq.l A7, 2
0000028A 3F3C 0081 move.w -[A7], 0x81
0000028E 42A7 clr.l -[A7]
00000290 A986 syscall StopAlert
00000292 548F addq.l A7, 2
00000294 4A2D F6CD tst.b [A5 - 0x933]
00000298 6604 bne +0x6 /* 0000029E */
0000029A 4EED 110A jmp [A5 + 0x110A /* export_541 */]
label0000029E:
0000029E A9F4 syscall ExitToShell
000002A0 46FC 2700 5C8F move.w SR, 0x27005C8F
000002A6 70FF moveq.l D0, 0xFFFFFFFF
label000002A8:
000002A8 51C8 FFFE dbf D0, -0x4 /* 000002A8 */
000002AC 46FC 2000 6080 move.w SR, 0x20006080
fn000002B2:
000002B2 A934 syscall ClearMenuBar
000002B4 246D F824 movea.l A2, [A5 - 0x7DC]
000002B8 7E28 moveq.l D7, 0x28
label000002BA:
000002BA 3007 move.w D0, D7
000002BC E748 lsl D0.w, 3
000002BE 4AB2 0004 tst.l [A2 + D0.w + 0x4]
000002C2 6706 beq +0x8 /* 000002CA */
000002C4 2F32 0004 move.l -[A7], [A2 + D0.w + 0x4]
000002C8 A932 syscall DisposeMenu
label000002CA:
000002CA 5347 subq.w D7, 1
000002CC 66EC bne -0x12 /* 000002BA */
000002CE 204A movea.l A0, A2
000002D0 A01F syscall DisposPtr/DisposePtr
000002D2 4E75 rts
fn000002D4:
000002D4 246D F7EC movea.l A2, [A5 - 0x814]
000002D8 7E0F moveq.l D7, 0x0F
label000002DA:
000002DA 3007 move.w D0, D7
000002DC E948 lsl D0.w, 4
000002DE 4AB2 0000 tst.l [A2 + D0.w]
000002E2 6722 beq +0x24 /* 00000306 */
000002E4 2600 move.l D3, D0
000002E6 2F32 0000 move.l -[A7], [A2 + D0.w]
000002EA A914 syscall DisposeWindow
000002EC 2F32 3008 move.l -[A7], [A2 + D3.w + 0x8]
000002F0 A9CD syscall TEDispose
000002F2 43F2 3004 lea.l A1, [A2 + D3.w + 0x4]
000002F6 2F11 move.l -[A7], [A1]
label000002F8:
000002F8 221F move.l D1, [A7]+
000002FA 670A beq +0xC /* 00000306 */
000002FC 2041 movea.l A0, D1
000002FE 2250 movea.l A1, [A0]
00000300 2F11 move.l -[A7], [A1]
00000302 A023 syscall DisposHandle/DisposeHandle
00000304 60F2 bra -0xC /* 000002F8 */
label00000306:
00000306 5347 subq.w D7, 1
00000308 66D0 bne -0x2E /* 000002DA */
0000030A 206D F7EC movea.l A0, [A5 - 0x814]
0000030E 2F28 0008 move.l -[A7], [A0 + 0x8]
00000312 A9CD syscall TEDispose
00000314 204A movea.l A0, A2
00000316 A01F syscall DisposPtr/DisposePtr
00000318 4E75 rts
0000031A 6100 FF1C bsr -0xE2 /* 00000238 */
0000031E 487A FF56 pea.l [PC - 0xAA /* 00000276, value 0x487A10FA */]
00000322 70FF moveq.l D0, 0xFFFFFFFF
00000324 4EBA 6FC6 jsr [PC + 0x6FC6 /* 000072EC */]
00000328 6000 FEBC bra -0x142 /* 000001E6 */
0000032C 265F movea.l A3, [A7]+
0000032E 205F movea.l A0, [A7]+
00000330 226D FD6A movea.l A1, [A5 - 0x296]
00000334 202D FD4E move.l D0, [A5 - 0x2B2]
00000338 9088 sub.l D0, A0
0000033A E288 lsr D0, 1
0000033C 670A beq +0xC /* 00000348 */
0000033E 43F1 8800 lea.l A1, [A1 + A0]
label00000342:
00000342 4259 clr.w [A1]+
00000344 5380 subq.l D0, 1
00000346 66FA bne -0x4 /* 00000342 */
label00000348:
00000348 204E movea.l A0, A6
0000034A 262D FD52 move.l D3, [A5 - 0x2AE]
0000034E 321F move.w D1, [A7]+
00000350 341F move.w D2, [A7]+
00000352 6706 beq +0x8 /* 0000035A */
00000354 204C movea.l A0, A4
00000356 262D FD56 move.l D3, [A5 - 0x2AA]
label0000035A:
0000035A 41F0 1000 lea.l A0, [A0 + D1.w]
0000035E 0641 8000 addi.w D1, 0x8000
00000362 9641 sub.w D3, D1
00000364 E24B lsr D3.w, 1
00000366 6002 bra +0x4 /* 0000036A */
label00000368:
00000368 4258 clr.w [A0]+
label0000036A:
0000036A 51CB FFFC dbf D3, -0x6 /* 00000368 */
0000036E 4A42 tst.w D2
00000370 6612 bne +0x14 /* 00000384 */
00000372 41EC 8000 lea.l A0, [A4 - 0x8000]
00000376 262D FD56 move.l D3, [A5 - 0x2AA]
0000037A E24B lsr D3.w, 1
0000037C 6002 bra +0x4 /* 00000380 */
label0000037E:
0000037E 4258 clr.w [A0]+
label00000380:
00000380 51CB FFFC dbf D3, -0x6 /* 0000037E */
label00000384:
00000384 4ED3 jmp [A3]
fn00000386:
00000386 41ED FD0E lea.l A0, [A5 - 0x2F2]
0000038A 43FA 004E lea.l A1, [PC + 0x4E /* 000003DA, value 0xA11E6704 */]
0000038E 20C9 move.l [A0]+, A1
00000390 43FA 0054 lea.l A1, [PC + 0x54 /* 000003E6, value 0x2040A01F */]
00000394 20C9 move.l [A0]+, A1
00000396 43FA 008C lea.l A1, [PC + 0x8C /* 00000424, value 0x4A806728 */]
0000039A 20C9 move.l [A0]+, A1
0000039C 43FA 0028 lea.l A1, [PC + 0x28 /* 000003C6, value 0x4E75A122 */]
000003A0 20C9 move.l [A0]+, A1
000003A2 43FA 1E98 lea.l A1, [PC + 0x1E98 /* 0000223C, value 0x4A406A08 */]
000003A6 20C9 move.l [A0]+, A1
000003A8 43FA 001E lea.l A1, [PC + 0x1E /* 000003C8, value 0xA1226704 */]
000003AC 20C9 move.l [A0]+, A1
000003AE 43FA 0024 lea.l A1, [PC + 0x24 /* 000003D4, value 0x2040A023 */]
000003B2 20C9 move.l [A0]+, A1
000003B4 43FA 0010 lea.l A1, [PC + 0x10 /* 000003C6, value 0x4E75A122 */]
000003B8 20C9 move.l [A0]+, A1
000003BA 43FA 2BBE lea.l A1, [PC + 0x2BBE /* 00002F7A, value 0xA000080, cstring "\
" */]
000003BE 20C9 move.l [A0]+, A1
000003C0 43FA 2BB4 lea.l A1, [PC + 0x2BB4 /* 00002F76, value 0x6000040 */]
000003C4 20C9 move.l [A0]+, A1
000003C6 4E75 rts
000003C8 A122 syscall NewHandle, flags=1
000003CA 6704 beq +0x6 /* 000003D0 */
000003CC 307C 0000 movea.w A0, 0x0
label000003D0:
000003D0 2008 move.l D0, A0
000003D2 4E75 rts
000003D4 2040 movea.l A0, D0
000003D6 A023 syscall DisposHandle/DisposeHandle
000003D8 4E75 rts
000003DA A11E syscall NewPtr, flags=1
000003DC 6704 beq +0x6 /* 000003E2 */
000003DE 41F8 0000 lea.l A0, [0x00000000 /* __m68k_reset_stack__ */]
label000003E2:
000003E2 2008 move.l D0, A0
000003E4 4E75 rts
000003E6 2040 movea.l A0, D0
000003E8 A01F syscall DisposPtr/DisposePtr
000003EA 4E75 rts
000003EC 2F38 020C move.l -[A7], [0x0000020C /* Time */]
000003F0 0C97 9A52 D5E3 cmpi.l [A7], 0x9A52D5E3
000003F6 6300 3BC2 bls +0x3BC4 /* 00003FBA */
000003FA 307C 020C movea.w A0, 0x20C
000003FE 0C90 9A7D 065B cmpi.l [A0], 0x9A7D065B
00000404 6400 3BB4 bcc +0x3BB6 /* 00003FBA */
00000408 588F addq.l A7, 4
0000040A 4E75 rts
0000040C 0200 0007 andi.b D0, 0x7
00000410 1239 00EF FFFE move.b D1, [0x00EFFFFE]
00000416 0201 00F8 andi.b D1, 0xF8
0000041A 8200 or.b D1, D0
0000041C 13C1 00EF FFFE move.b [0x00EFFFFE], D1
00000422 4E75 rts
00000424 4A80 tst.l D0
00000426 6728 beq +0x2A /* 00000450 */
00000428 6B00 00B0 bmi +0xB2 /* 000004DA */
0000042C 2800 move.l D4, D0
0000042E 7200 moveq.l D1, 0x00
label00000430:
00000430 003C 00FF ori.b ccr, 255
00000434 E391 roxl D1, 1
00000436 E48C lsr D4, 2
00000438 66F6 bne -0x8 /* 00000430 */
0000043A 7808 moveq.l D4, 0x08
label0000043C:
0000043C 3401 move.w D2, D1
0000043E 2600 move.l D3, D0
00000440 86C1 divu.w D3, D1
00000442 D243 add.w D1, D3
00000444 E249 lsr D1.w, 1
00000446 B242 cmp.w D1, D2
00000448 57CC FFF2 dbeq D4, -0x10 /* 0000043C */
0000044C 3001 move.w D0, D1
0000044E 48C0 ext.l D0
label00000450:
00000450 4E75 rts
00000452 A122 syscall NewHandle, flags=1
00000454 6616 bne +0x18 /* 0000046C */
00000456 2F00 move.l -[A7], D0
00000458 2F08 move.l -[A7], A0
0000045A A029 syscall HLock
0000045C 205F movea.l A0, [A7]+
0000045E 2010 move.l D0, [A0]
00000460 0280 00FF FFFF andi.l D0, 0xFFFFFF
00000466 2040 movea.l A0, D0
00000468 201F move.l D0, [A7]+
0000046A 4A40 tst.w D0
label0000046C:
0000046C 4E75 rts
0000046E 3F3C 0004 move.w -[A7], 0x4
00000472 206D F902 movea.l A0, [A5 - 0x6FE]
00000476 4868 0002 pea.l [A0 + 0x2]
0000047A 486D F87E pea.l [A5 - 0x782]
0000047E 2F3C 0000 0001 move.l -[A7], 0x1
00000484 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00000488 4E75 rts
label0000048A:
0000048A 588F addq.l A7, 4
0000048C 7000 moveq.l D0, 0x00
0000048E 4E75 rts
fn00000490:
00000490 7800 moveq.l D4, 0x00
00000492 4A80 tst.l D0
00000494 6A04 bpl +0x6 /* 0000049A */
00000496 4644 not.w D4
00000498 4480 neg.l D0
label0000049A:
0000049A 4A81 tst.l D1
0000049C 67EC beq -0x12 /* 0000048A */
0000049E 6A04 bpl +0x6 /* 000004A4 */
000004A0 4481 neg.l D1
000004A2 4644 not.w D4
label000004A4:
000004A4 4E75 rts
export_50:
fn000004A6:
000004A6 61E8 bsr -0x16 /* 00000490 */
000004A8 B081 cmp.l D0, D1
000004AA 6502 bcs +0x4 /* 000004AE */
000004AC C340 exg D1, D0
label000004AE:
000004AE 0C80 0001 0000 cmpi.l D0, 0x10000
000004B4 6424 bcc +0x26 /* 000004DA */
000004B6 0C81 0001 0000 cmpi.l D1, 0x10000
000004BC 640C bcc +0xE /* 000004CA */
000004BE C0C1 mulu.w D0, D1
label000004C0:
000004C0 4A44 tst.w D4
000004C2 6704 beq +0x6 /* 000004C8 */
000004C4 4480 neg.l D0
000004C6 4481 neg.l D1
label000004C8:
000004C8 4E75 rts
label000004CA:
000004CA 4840 swap.w D0
000004CC 740F moveq.l D2, 0x0F
label000004CE:
000004CE D080 add.l D0, D0
000004D0 6402 bcc +0x4 /* 000004D4 */
000004D2 D081 add.l D0, D1
label000004D4:
000004D4 51CA FFF8 dbf D2, -0xA /* 000004CE */
000004D8 60E6 bra -0x18 /* 000004C0 */
label000004DA:
000004DA 203C 7FFF FFFF move.l D0, 0x7FFFFFFF
000004E0 4A44 tst.w D4
000004E2 6702 beq +0x4 /* 000004E6 */
000004E4 5280 addq.l D0, 1
label000004E6:
000004E6 4E75 rts
export_61:
fn000004E8:
000004E8 61A6 bsr -0x58 /* 00000490 */
000004EA 4A80 tst.l D0
000004EC 67EC beq -0x12 /* 000004DA */
000004EE 2400 move.l D2, D0
000004F0 2001 move.l D0, D1
000004F2 7200 moveq.l D1, 0x00
000004F4 761F moveq.l D3, 0x1F
label000004F6:
000004F6 D080 add.l D0, D0
000004F8 55CB FFFC dbcs D3, -0x6 /* 000004F6 */
000004FC 6002 bra +0x4 /* 00000500 */
label000004FE:
000004FE D080 add.l D0, D0
label00000500:
00000500 D381 addx.l D1, D1
00000502 B282 cmp.l D1, D2
00000504 6504 bcs +0x6 /* 0000050A */
00000506 9282 sub.l D1, D2
00000508 5240 addq.w D0, 1
label0000050A:
0000050A 51CB FFF2 dbf D3, -0x10 /* 000004FE */
0000050E 60B0 bra -0x4E /* 000004C0 */
fn00000510:
00000510 4A80 tst.l D0
00000512 6A02 bpl +0x4 /* 00000516 */
00000514 4480 neg.l D0
label00000516:
00000516 4E75 rts
00000518 61CE bsr -0x30 /* 000004E8 */
0000051A C141 exg D0, D1
0000051C 4E75 rts
0000051E 4A80 tst.l D0
00000520 6704 beq +0x6 /* 00000526 */
00000522 6A04 bpl +0x6 /* 00000528 */
00000524 70FF moveq.l D0, 0xFFFFFFFF
label00000526:
00000526 4E75 rts
label00000528:
00000528 7001 moveq.l D0, 0x01
0000052A 4E75 rts
0000052C 6126 bsr +0x28 /* 00000554 */
0000052E 7000 moveq.l D0, 0x00
00000530 E949 lsl D1.w, 4
00000532 6402 bcc +0x4 /* 00000536 */
00000534 70FF moveq.l D0, 0xFFFFFFFF
label00000536:
00000536 4E75 rts
export_57:
fn00000538:
00000538 611A bsr +0x1C /* 00000554 */
0000053A 4A40 tst.w D0
0000053C 6714 beq +0x16 /* 00000552 */
0000053E 0281 0000 7FFF andi.l D1, 0x7FFF
00000544 83C0 divs.w D1, D0
00000546 C141 exg D0, D1
00000548 4840 swap.w D0
0000054A 0280 0000 FFFF andi.l D0, 0xFFFF
00000550 5240 addq.w D0, 1
label00000552:
00000552 4E75 rts
fn00000554:
00000554 7200 moveq.l D1, 0x00
00000556 7400 moveq.l D2, 0x00
00000558 322D FD82 move.w D1, [A5 - 0x27E]
0000055C D241 add.w D1, D1
0000055E 142D FD84 move.b D2, [A5 - 0x27C]
00000562 E412 roxr D2.b, 2
00000564 6502 bcs +0x4 /* 00000568 */
00000566 5341 subq.w D1, 1
label00000568:
00000568 4602 not.b D2
0000056A E059 ror D1.w, 8
0000056C B302 xor.b D2, D1
0000056E 1B41 FD84 move.b [A5 - 0x27C], D1
00000572 1202 move.b D1, D2
00000574 3B41 FD82 move.w [A5 - 0x27E], D1
00000578 4E75 rts
0000057A 558F subq.l A7, 2
0000057C A861 syscall Random
0000057E 301F move.w D0, [A7]+
00000580 3B40 FD82 move.w [A5 - 0x27E], D0
00000584 422D FD84 clr.b [A5 - 0x27C]
00000588 4E75 rts
0000058A 2410 move.l D2, [A0]
0000058C D480 add.l D2, D0
0000058E 2082 move.l [A0], D2
00000590 4A80 tst.l D0
00000592 6A02 bpl +0x4 /* 00000596 */
00000594 C342 exg D1, D2
label00000596:
00000596 B282 cmp.l D1, D2
00000598 4E75 rts
0000059A 3410 move.w D2, [A0]
0000059C D440 add.w D2, D0
0000059E 3082 move.w [A0], D2
000005A0 4A40 tst.w D0
000005A2 6A02 bpl +0x4 /* 000005A6 */
000005A4 C342 exg D1, D2
label000005A6:
000005A6 B242 cmp.w D1, D2
000005A8 4E75 rts
000005AA 7203 moveq.l D1, 0x03
label000005AC:
000005AC E188 lsl D0, 8
000005AE 1018 move.b D0, [A0]+
000005B0 51C9 FFFA dbf D1, -0x8 /* 000005AC */
000005B4 4E75 rts
000005B6 1018 move.b D0, [A0]+
000005B8 E148 lsl D0.w, 8
000005BA 1018 move.b D0, [A0]+
000005BC 48C0 ext.l D0
000005BE 4E75 rts
000005C0 4840 swap.w D0
000005C2 6102 bsr +0x4 /* 000005C6 */
000005C4 4840 swap.w D0
fn000005C6:
000005C6 E158 rol D0.w, 8
000005C8 10C0 move.b [A0]+, D0
000005CA E158 rol D0.w, 8
000005CC 10C0 move.b [A0]+, D0
000005CE 4E75 rts
000005D0 4A40 tst.w D0
000005D2 6B0E bmi +0x10 /* 000005E2 */
000005D4 670C beq +0xE /* 000005E2 */
000005D6 3200 move.w D1, D0
label000005D8:
000005D8 5341 subq.w D1, 1
label000005DA:
000005DA 4EBA 3362 jsr [PC + 0x3362 /* 0000393E */]
000005DE 51C9 FFFA dbf D1, -0x8 /* 000005DA */
label000005E2:
000005E2 4E75 rts
export_48:
000005E4 4EBA 331C jsr [PC + 0x331C /* 00003902 */]
label000005E8:
000005E8 906D FD92 sub.w D0, [A5 - 0x26E]
000005EC 64FA bcc -0x4 /* 000005E8 */
000005EE 4440 neg.w D0
000005F0 3200 move.w D1, D0
000005F2 5341 subq.w D1, 1
label000005F4:
000005F4 4EBA 3348 jsr [PC + 0x3348 /* 0000393E */]
000005F8 4EBA 3308 jsr [PC + 0x3308 /* 00003902 */]
000005FC 57C9 FFF6 dbeq D1, -0xC /* 000005F4 */
label00000600:
00000600 4E75 rts
00000602 3200 move.w D1, D0
00000604 4EBA 32FC jsr [PC + 0x32FC /* 00003902 */]
00000608 9240 sub.w D1, D0
0000060A 63F4 bls -0xA /* 00000600 */
0000060C 60CA bra -0x34 /* 000005D8 */
export_41:
0000060E 4A40 tst.w D0
00000610 6F0C ble +0xE /* 0000061E */
label00000612:
00000612 323C 01F4 move.w D1, 0x1F4
label00000616:
00000616 51C9 FFFE dbf D1, -0x4 /* 00000616 */
0000061A 51C8 FFF6 dbf D0, -0xC /* 00000612 */
label0000061E:
0000061E 4E75 rts
00000620 1F2D FD86 move.b -[A7], [A5 - 0x27A]
00000624 3F00 move.w -[A7], D0
00000626 1B41 FD86 move.b [A5 - 0x27A], D1
0000062A 4EBA 3222 jsr [PC + 0x3222 /* 0000384E */]
0000062E 301F move.w D0, [A7]+
00000630 610E bsr +0x10 /* 00000640 */
00000632 1B5F FD86 move.b [A5 - 0x27A], [A7]+
00000636 4EFA 3216 jmp [PC + 0x3216 /* 0000384E */]
0000063A 50ED FD88 st [A5 - 0x278]
0000063E 6008 bra +0xA /* 00000648 */
fn00000640:
00000640 3F00 move.w -[A7], D0
00000642 4EBA 0084 jsr [PC + 0x84 /* 000006C8 */]
00000646 301F move.w D0, [A7]+
label00000648:
00000648 3B40 FD90 move.w [A5 - 0x270], D0
0000064C 598F subq.l A7, 4
0000064E 2F0F move.l -[A7], A7
00000650 A874 syscall GetPort
00000652 2F2D F7FA move.l -[A7], [A5 - 0x806]
00000656 A873 syscall SetPort
label00000658:
00000658 4A2D FD88 tst.b [A5 - 0x278]
0000065C 6B12 bmi +0x14 /* 00000670 */
0000065E 4AB8 014C tst.l [0x0000014C]
00000662 6730 beq +0x32 /* 00000694 */
00000664 4EBA 36F6 jsr [PC + 0x36F6 /* 00003D5C */]
00000668 672A beq +0x2C /* 00000694 */
0000066A 0C00 00EA cmpi.b D0, 0xEA
0000066E 6604 bne +0x6 /* 00000674 */
label00000670:
00000670 4EBA 3662 jsr [PC + 0x3662 /* 00003CD4 */]
label00000674:
00000674 0C00 0082 cmpi.b D0, 0x82
00000678 672C beq +0x2E /* 000006A6 */
0000067A 0C00 002E cmpi.b D0, 0x2E /* '.' */
0000067E 6608 bne +0xA /* 00000688 */
00000680 082D 0000 F8FC btst.b [A5 - 0x704], 0x0
00000686 661E bne +0x20 /* 000006A6 */
label00000688:
00000688 0C00 00F3 cmpi.b D0, 0xF3
0000068C 6606 bne +0x8 /* 00000694 */
0000068E 462D FD88 not.b [A5 - 0x278]
00000692 60C4 bra -0x3A /* 00000658 */
label00000694:
00000694 A873 syscall SetPort
00000696 4E75 rts
00000698 422D FD88 clr.b [A5 - 0x278]
0000069C 4E75 rts
0000069E 3F00 move.w -[A7], D0
000006A0 487A 0C80 pea.l [PC + 0xC80 /* 00001322, value 0x15426F75, pstring "Bounds Error in Line " */]
000006A4 600A bra +0xC /* 000006B0 */
label000006A6:
000006A6 302D FD90 move.w D0, [A5 - 0x270]
000006AA 3F00 move.w -[A7], D0
000006AC 487A 0C64 pea.l [PC + 0xC64 /* 00001312, value 0xE427265, pstring "Break In Line " */]
label000006B0:
000006B0 422D F84E clr.b [A5 - 0x7B2]
000006B4 4EBA 3276 jsr [PC + 0x3276 /* 0000392C */]
000006B8 A884 syscall DrawString
000006BA 7000 moveq.l D0, 0x00
000006BC 301F move.w D0, [A7]+
000006BE 6108 bsr +0xA /* 000006C8 */
000006C0 4EBA 326A jsr [PC + 0x326A /* 0000392C */]
000006C4 6000 FB6C bra -0x492 /* 00000232 */
fn000006C8:
000006C8 41ED FB0E lea.l A0, [A5 - 0x4F2]
000006CC 0280 0000 FFFF andi.l D0, 0xFFFF
000006D2 4EBA 03A8 jsr [PC + 0x3A8 /* 00000A7C */]
000006D6 7204 moveq.l D1, 0x04
000006D8 41ED FB0E lea.l A0, [A5 - 0x4F2]
label000006DC:
000006DC 1018 move.b D0, [A0]+
000006DE 4EBA 3260 jsr [PC + 0x3260 /* 00003940 */]
000006E2 51C9 FFF8 dbf D1, -0xA /* 000006DC */
000006E6 4EFA 3256 jmp [PC + 0x3256 /* 0000393E */]
export_26:
000006EA 4A40 tst.w D0
000006EC 6712 beq +0x14 /* 00000700 */
000006EE 598F subq.l A7, 4
000006F0 3F00 move.w -[A7], D0
000006F2 A9B9 syscall GetCursor
000006F4 201F move.l D0, [A7]+
000006F6 6706 beq +0x8 /* 000006FE */
000006F8 2040 movea.l A0, D0
000006FA 2F10 move.l -[A7], [A0]
000006FC A851 syscall SetCursor
label000006FE:
000006FE 4E75 rts
label00000700:
00000700 A850 syscall InitCursor
00000702 4E75 rts
00000704 4A2D F6D8 tst.b [A5 - 0x928]
00000708 6600 556A bne +0x556C /* 00005C74 */
0000070C 0C40 000C cmpi.w D0, 0xC
00000710 6304 bls +0x6 /* 00000716 */
00000712 7000 moveq.l D0, 0x00
00000714 4E75 rts
label00000716:
00000716 D040 add.w D0, D0
00000718 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000071C 4EFB 0002 jmp [PC + D0.w + 0x2]
00000720 002A 002E 004A ori.b [A2 + 0x4A], 0x2E /* '.' */
00000726 001E 001A ori.b [A6]+, 0x1A
0000072A 001C 0094 ori.b [A4]+, 0x94
0000072E 0086 00AE 00A2 ori.l D6, 0xAE00A2
00000734 00BA 007E 0076 AC53 ori.l [PC - 0x53AD /* FFFFB389, cstring ""<EOF> */], 0x7E0076 /* '~\0v' */
0000073C AC52 syscall HideCursor, auto_pop
0000073E 4267 clr.w -[A7]
00000740 A974 syscall Button
00000742 4A5F tst.w [A7]+
00000744 6604 bne +0x6 /* 0000074A */
00000746 7000 moveq.l D0, 0x00
00000748 4E75 rts
label0000074A:
0000074A 70FF moveq.l D0, 0xFFFFFFFF
0000074C 4E75 rts
0000074E 486D F8FE pea.l [A5 - 0x702]
00000752 A972 syscall GetMouse
00000754 486D F8FE pea.l [A5 - 0x702]
00000758 486D F87E pea.l [A5 - 0x782]
0000075C 486D F780 pea.l [A5 - 0x880]
00000760 A8F9 syscall MapPt
00000762 302D F900 move.w D0, [A5 - 0x700]
00000766 48C0 ext.l D0
00000768 4E75 rts
0000076A 486D F8FE pea.l [A5 - 0x702]
0000076E A972 syscall GetMouse
00000770 486D F8FE pea.l [A5 - 0x702]
00000774 486D F87E pea.l [A5 - 0x782]
00000778 486D F780 pea.l [A5 - 0x880]
0000077C A8F9 syscall MapPt
0000077E 302D F8FE move.w D0, [A5 - 0x702]
00000782 48C0 ext.l D0
00000784 4E75 rts
fn00000786:
00000786 486D F8FE pea.l [A5 - 0x702]
0000078A A972 syscall GetMouse
0000078C 486D F8FE pea.l [A5 - 0x702]
00000790 A870 syscall LocalToGlobal
00000792 7000 moveq.l D0, 0x00
00000794 4E75 rts
00000796 61EE bsr -0x10 /* 00000786 */
00000798 302D F8FE move.w D0, [A5 - 0x702]
0000079C 4E75 rts
0000079E 61E6 bsr -0x18 /* 00000786 */
000007A0 302D F900 move.w D0, [A5 - 0x700]
000007A4 4E75 rts
000007A6 486D F8FE pea.l [A5 - 0x702]
000007AA A972 syscall GetMouse
000007AC 7000 moveq.l D0, 0x00
000007AE 302D F8FE move.w D0, [A5 - 0x702]
000007B2 4E75 rts
000007B4 486D F8FE pea.l [A5 - 0x702]
000007B8 A972 syscall GetMouse
000007BA 7000 moveq.l D0, 0x00
000007BC 302D F900 move.w D0, [A5 - 0x700]
000007C0 4E75 rts
000007C2 4267 clr.w -[A7]
000007C4 A977 syscall WaitMouseUp
000007C6 4A5F tst.w [A7]+
000007C8 670C beq +0xE /* 000007D6 */
label000007CA:
000007CA 70FF moveq.l D0, 0xFFFFFFFF
000007CC 4E75 rts
000007CE 4267 clr.w -[A7]
000007D0 A973 syscall StillDown
000007D2 4A5F tst.w [A7]+
000007D4 66F4 bne -0xA /* 000007CA */
label000007D6:
000007D6 7000 moveq.l D0, 0x00
000007D8 4E75 rts
000007DA 2038 02F0 move.l D0, [0x000002F0 /* DoubleTime */]
000007DE 4E75 rts
000007E0 6104 bsr +0x6 /* 000007E6 */
000007E2 4EFA 5A08 jmp [PC + 0x5A08 /* 000061EC */]
fn000007E6:
000007E6 41ED FDC4 lea.l A0, [A5 - 0x23C]
000007EA 614A bsr +0x4C /* 00000836 */
000007EC 41ED FDC5 lea.l A0, [A5 - 0x23B]
000007F0 4EBA 587A jsr [PC + 0x587A /* 0000606C */]
000007F4 206F 0008 movea.l A0, [A7 + 0x8]
000007F8 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
000007FE 2E9F move.l [A7], [A7]+
00000800 4E75 rts
00000802 61E2 bsr -0x1C /* 000007E6 */
00000804 4EFA 5A7C jmp [PC + 0x5A7C /* 00006282 */]
fn00000808:
00000808 41ED FDC4 lea.l A0, [A5 - 0x23C]
0000080C 6128 bsr +0x2A /* 00000836 */
0000080E 41ED FDC5 lea.l A0, [A5 - 0x23B]
00000812 4EBA 02CE jsr [PC + 0x2CE /* 00000AE2 */]
00000816 206F 0008 movea.l A0, [A7 + 0x8]
0000081A 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00000820 2E9F move.l [A7], [A7]+
00000822 4E75 rts
export_60:
00000824 61E2 bsr -0x1C /* 00000808 */
00000826 3080 move.w [A0], D0
00000828 4E75 rts
0000082A 61DC bsr -0x22 /* 00000808 */
0000082C 2080 move.l [A0], D0
0000082E 4E75 rts
00000830 206F 0004 movea.l A0, [A7 + 0x4]
00000834 2E9F move.l [A7], [A7]+
fn00000836:
00000836 226D FD8C movea.l A1, [A5 - 0x274]
0000083A 4210 clr.b [A0]
0000083C 2448 movea.l A2, A0
label0000083E:
0000083E 4A11 tst.b [A1]
00000840 671C beq +0x1E /* 0000085E */
00000842 0C11 0020 cmpi.b [A1], 0x20 /* ' ' */
00000846 6604 bne +0x6 /* 0000084C */
00000848 5289 addq.l A1, 1
0000084A 60F2 bra -0xC /* 0000083E */
label0000084C:
0000084C 727F moveq.l D1, 0x7F
0000084E 143C 002C move.b D2, 0x2C /* ',' */
00000852 0C11 0022 cmpi.b [A1], 0x22 /* '\"' */
00000856 6606 bne +0x8 /* 0000085E */
00000858 143C 0022 move.b D2, 0x22 /* '\"' */
0000085C 5289 addq.l A1, 1
label0000085E:
0000085E 5288 addq.l A0, 1
00000860 4A11 tst.b [A1]
00000862 6720 beq +0x22 /* 00000884 */
00000864 B411 cmp.b D2, [A1]
00000866 6708 beq +0xA /* 00000870 */
00000868 1099 move.b [A0], [A1]+
0000086A 5212 addq.b [A2], 1
0000086C 51C9 FFF0 dbf D1, -0x12 /* 0000085E */
label00000870:
00000870 0C02 002C cmpi.b D2, 0x2C /* ',' */
00000874 670C beq +0xE /* 00000882 */
00000876 4A11 tst.b [A1]
00000878 670A beq +0xC /* 00000884 */
0000087A 0C19 002C cmpi.b [A1]+, 0x2C /* ',' */
0000087E 6704 beq +0x6 /* 00000884 */
00000880 60EE bra -0x10 /* 00000870 */
label00000882:
00000882 5289 addq.l A1, 1
label00000884:
00000884 2B49 FD8C move.l [A5 - 0x274], A1
00000888 4210 clr.b [A0]
0000088A 4EFA 086A jmp [PC + 0x86A /* 000010F6 */]
0000088E 2F08 move.l -[A7], A0
00000890 2049 movea.l A0, A1
00000892 6110 bsr +0x12 /* 000008A4 */
00000894 6004 bra +0x6 /* 0000089A */
00000896 2F08 move.l -[A7], A0
00000898 6106 bsr +0x8 /* 000008A0 */
label0000089A:
0000089A 205F movea.l A0, [A7]+
0000089C 4EFA 0848 jmp [PC + 0x848 /* 000010E6 */]
fn000008A0:
000008A0 41FA 0A96 lea.l A0, [PC + 0xA96 /* 00001338, value 0x23F2000, pstring "? " */]
export_59:
fn000008A4:
000008A4 4EBA 085A jsr [PC + 0x85A /* 00001100 */]
000008A8 41ED F90F lea.l A0, [A5 - 0x6F1]
000008AC 2B48 FD8C move.l [A5 - 0x274], A0
000008B0 7200 moveq.l D1, 0x00
000008B2 122D FD8A move.b D1, [A5 - 0x276]
000008B6 6602 bne +0x4 /* 000008BA */
000008B8 7201 moveq.l D1, 0x01
label000008BA:
000008BA 4EBA 0868 jsr [PC + 0x868 /* 00001124 */]
000008BE 6402 bcc +0x4 /* 000008C2 */
000008C0 7200 moveq.l D1, 0x00
label000008C2:
000008C2 1B7C 00FF FD8A move.b [A5 - 0x276], 0xFF
000008C8 422D FD89 clr.b [A5 - 0x277]
000008CC 1141 FFFF move.b [A0 - 0x1], D1
000008D0 4E75 rts
000008D2 2B6D FD66 FD46 move.l [A5 - 0x2BA], [A5 - 0x29A]
000008D8 4A40 tst.w D0
000008DA 6708 beq +0xA /* 000008E4 */
000008DC 5340 subq.w D0, 1
label000008DE:
000008DE 6144 bsr +0x46 /* 00000924 */
000008E0 51C8 FFFC dbf D0, -0x6 /* 000008DE */
label000008E4:
000008E4 4E75 rts
fn000008E6:
000008E6 3F13 move.w -[A7], [A3]
000008E8 3F2B 0002 move.w -[A7], [A3 + 0x2]
000008EC A893 syscall MoveTo
000008EE 41FA 0A64 lea.l A0, [PC + 0xA64 /* 00001354, value 0x59525245 'YRRE' */]
000008F2 1F30 6000 move.b -[A7], [A0 + D6.w]
000008F6 1F57 0001 move.b [A7 + 0x1], [A7]
000008FA A883 syscall DrawChar
000008FC 4E75 rts
000008FE 6124 bsr +0x26 /* 00000924 */
00000900 5389 subq.l A1, 1
00000902 2089 move.l [A0], A1
00000904 4E75 rts
00000906 611C bsr +0x1E /* 00000924 */
00000908 6716 beq +0x18 /* 00000920 */
0000090A 0801 000B btst.b D1, 0xB
0000090E 6710 beq +0x12 /* 00000920 */
00000910 0241 00FF andi.w D1, 0xFF
00000914 10C1 move.b [A0]+, D1
00000916 5341 subq.w D1, 1
label00000918:
00000918 10D9 move.b [A0]+, [A1]+
0000091A 51C9 FFFC dbf D1, -0x6 /* 00000918 */
0000091E 4E75 rts
label00000920:
00000920 4210 clr.b [A0]
00000922 4E75 rts
fn00000924:
00000924 226D FD46 movea.l A1, [A5 - 0x2BA]
00000928 7200 moveq.l D1, 0x00
0000092A 3219 move.w D1, [A1]+
0000092C 6B1C bmi +0x1E /* 0000094A */
0000092E 3F01 move.w -[A7], D1
00000930 0241 00FF andi.w D1, 0xFF
00000934 D3AD FD46 add.l [A5 - 0x2BA], D1
00000938 54AD FD46 addq.l [A5 - 0x2BA], 2
0000093C 082D 0000 FD49 btst.b [A5 - 0x2B7], 0x0
00000942 6704 beq +0x6 /* 00000948 */
00000944 52AD FD46 addq.l [A5 - 0x2BA], 1
label00000948:
00000948 321F move.w D1, [A7]+
label0000094A:
0000094A 4A01 tst.b D1
0000094C 4E75 rts
0000094E 61D4 bsr -0x2A /* 00000924 */
00000950 6604 bne +0x6 /* 00000956 */
00000952 4250 clr.w [A0]
00000954 4E75 rts
label00000956:
00000956 0801 0008 btst.b D1, 0x8
0000095A 6704 beq +0x6 /* 00000960 */
0000095C 3091 move.w [A0], [A1]
0000095E 4E75 rts
label00000960:
00000960 0801 0009 btst.b D1, 0x9 /* '\t' */
00000964 6706 beq +0x8 /* 0000096C */
00000966 30A9 0002 move.w [A0], [A1 + 0x2]
0000096A 4E75 rts
label0000096C:
0000096C 0801 000A btst.b D1, 0xA /* '\n' */
00000970 6710 beq +0x12 /* 00000982 */
00000972 2F08 move.l -[A7], A0
00000974 4EBA 007C jsr [PC + 0x7C /* 000009F2 */]
00000978 4EBA 5508 jsr [PC + 0x5508 /* 00005E82 */]
0000097C 205F movea.l A0, [A7]+
0000097E 3080 move.w [A0], D0
00000980 4E75 rts
label00000982:
00000982 0801 000B btst.b D1, 0xB
00000986 67FA beq -0x4 /* 00000982 */
00000988 30BC 7FFF move.w [A0], 0x7FFF
0000098C 4E75 rts
0000098E 6194 bsr -0x6A /* 00000924 */
00000990 6604 bne +0x6 /* 00000996 */
00000992 4290 clr.l [A0]
00000994 4E75 rts
label00000996:
00000996 0801 0009 btst.b D1, 0x9 /* '\t' */
0000099A 6704 beq +0x6 /* 000009A0 */
0000099C 2091 move.l [A0], [A1]
0000099E 4E75 rts
label000009A0:
000009A0 0801 0008 btst.b D1, 0x8
000009A4 6706 beq +0x8 /* 000009AC */
000009A6 3251 movea.w A1, [A1]
000009A8 2089 move.l [A0], A1
000009AA 4E75 rts
label000009AC:
000009AC 0801 000A btst.b D1, 0xA /* '\n' */
000009B0 6710 beq +0x12 /* 000009C2 */
000009B2 2F08 move.l -[A7], A0
000009B4 4EBA 003C jsr [PC + 0x3C /* 000009F2 */]
000009B8 4EBA 54C8 jsr [PC + 0x54C8 /* 00005E82 */]
000009BC 205F movea.l A0, [A7]+
000009BE 2080 move.l [A0], D0
000009C0 4E75 rts
label000009C2:
000009C2 20BC 7FFF FFFF move.l [A0], 0x7FFFFFFF
000009C8 4E75 rts
000009CA 2F08 move.l -[A7], A0
000009CC 6110 bsr +0x12 /* 000009DE */
000009CE 205F movea.l A0, [A7]+
000009D0 4EFA 581A jmp [PC + 0x581A /* 000061EC */]
000009D4 2F08 move.l -[A7], A0
000009D6 6106 bsr +0x8 /* 000009DE */
000009D8 205F movea.l A0, [A7]+
000009DA 4EFA 58A6 jmp [PC + 0x58A6 /* 00006282 */]
fn000009DE:
000009DE 6100 FF44 bsr -0xBA /* 00000924 */
000009E2 6700 597A beq +0x597C /* 0000635E */
000009E6 0801 0008 btst.b D1, 0x8
000009EA 6614 bne +0x16 /* 00000A00 */
000009EC 0801 0009 btst.b D1, 0x9 /* '\t' */
000009F0 6616 bne +0x18 /* 00000A08 */
fn000009F2:
000009F2 7000 moveq.l D0, 0x00
000009F4 1001 move.b D0, D1
000009F6 E248 lsr D0.w, 1
000009F8 5540 subq.w D0, 2
000009FA 2049 movea.l A0, A1
000009FC 4EFA 58F0 jmp [PC + 0x58F0 /* 000062EE */]
label00000A00:
00000A00 3011 move.w D0, [A1]
00000A02 48C0 ext.l D0
00000A04 4EFA 54EE jmp [PC + 0x54EE /* 00005EF4 */]
label00000A08:
00000A08 2011 move.l D0, [A1]
00000A0A 4EFA 54E8 jmp [PC + 0x54E8 /* 00005EF4 */]
00000A0E 3010 move.w D0, [A0]
00000A10 3091 move.w [A0], [A1]
00000A12 3280 move.w [A1], D0
00000A14 4E75 rts
00000A16 2010 move.l D0, [A0]
00000A18 2091 move.l [A0], [A1]
00000A1A 2280 move.l [A1], D0
00000A1C 4E75 rts
00000A1E 302D FEC6 move.w D0, [A5 - 0x13A]
label00000A22:
00000A22 1210 move.b D1, [A0]
00000A24 10D1 move.b [A0]+, [A1]
00000A26 12C1 move.b [A1]+, D1
00000A28 51C8 FFF8 dbf D0, -0xA /* 00000A22 */
00000A2C 4E75 rts
00000A2E 302D FECA move.w D0, [A5 - 0x136]
label00000A32:
00000A32 3210 move.w D1, [A0]
00000A34 30D1 move.w [A0]+, [A1]
00000A36 32C1 move.w [A1]+, D1
00000A38 51C8 FFF8 dbf D0, -0xA /* 00000A32 */
00000A3C 4E75 rts
00000A3E 1010 move.b D0, [A0]
00000A40 B011 cmp.b D0, [A1]
00000A42 6402 bcc +0x4 /* 00000A46 */
00000A44 1011 move.b D0, [A1]
label00000A46:
00000A46 4880 ext.w D0
00000A48 60D8 bra -0x26 /* 00000A22 */
00000A4A 3B9A CA00 move.w [A5 + A4 * 2], [A2]+
00000A4E 05F5 .incomplete
00000A50 E100 asl D0.b, 8
00000A52 0098 9680 000F ori.l [A0]+, 0x9680000F
00000A58 4240 clr.w D0
00000A5A 0001 86A0 ori.b D1, 0xA0
00000A5E 0000 2710 ori.b D0, 0x10
00000A62 0000 03E8 ori.b D0, 0xE8
00000A66 0000 0064 ori.b D0, 0x64 /* 'd' */
00000A6A 0000 000A ori.b D0, 0xA /* '\n' */
00000A6E 0000 0001 ori.b D0, 0x1
00000A72 0000 0000 ori.b D0, 0x0
fn00000A76:
00000A76 6108 bsr +0xA /* 00000A80 */
00000A78 10C3 move.b [A0]+, D3
00000A7A 4E75 rts
fn00000A7C:
00000A7C 7205 moveq.l D1, 0x05
00000A7E 6006 bra +0x8 /* 00000A86 */
fn00000A80:
00000A80 7208 moveq.l D1, 0x08
00000A82 6002 bra +0x4 /* 00000A86 */
fn00000A84:
00000A84 7209 moveq.l D1, 0x09
fn00000A86:
00000A86 43FA FFC2 lea.l A1, [PC - 0x3E /* 00000A4A, value 0x3B9ACA00 */]
label00000A8A:
00000A8A 2419 move.l D2, [A1]+
00000A8C B082 cmp.l D0, D2
00000A8E 54C9 FFFA dbcc D1, -0x8 /* 00000A8A */
label00000A92:
00000A92 722F moveq.l D1, 0x2F
label00000A94:
00000A94 5201 addq.b D1, 1
00000A96 9082 sub.l D0, D2
00000A98 64FA bcc -0x4 /* 00000A94 */
00000A9A D082 add.l D0, D2
00000A9C 10C1 move.b [A0]+, D1
00000A9E 2419 move.l D2, [A1]+
00000AA0 66F0 bne -0xE /* 00000A92 */
00000AA2 4E75 rts
export_51:
00000AA4 6112 bsr +0x14 /* 00000AB8 */
00000AA6 5340 subq.w D0, 1
00000AA8 3600 move.w D3, D0
label00000AAA:
00000AAA 1018 move.b D0, [A0]+
00000AAC 4EBA 2E92 jsr [PC + 0x2E92 /* 00003940 */]
00000AB0 51CB FFF8 dbf D3, -0xA /* 00000AAA */
00000AB4 4EFA 2E88 jmp [PC + 0x2E88 /* 0000393E */]
fn00000AB8:
00000AB8 41ED FDC4 lea.l A0, [A5 - 0x23C]
00000ABC 323C 2D20 move.w D1, 0x2D20 /* '- ' */
00000AC0 4A80 tst.l D0
00000AC2 6A04 bpl +0x6 /* 00000AC8 */
00000AC4 4480 neg.l D0
00000AC6 E059 ror D1.w, 8
label00000AC8:
00000AC8 2F08 move.l -[A7], A0
00000ACA 10C1 move.b [A0]+, D1
00000ACC 61B6 bsr -0x48 /* 00000A84 */
00000ACE C188 exg D0, A0
00000AD0 205F movea.l A0, [A7]+
00000AD2 9088 sub.l D0, A0
00000AD4 4E75 rts
fn00000AD6:
00000AD6 1218 move.b D1, [A0]+
00000AD8 0401 0030 subi.b D1, 0x30 /* '0' */
00000ADC 0C01 000A cmpi.b D1, 0xA /* '\n' */
00000AE0 4E75 rts
fn00000AE2:
00000AE2 4EBA 5546 jsr [PC + 0x5546 /* 0000602A */]
00000AE6 3F00 move.w -[A7], D0
00000AE8 7000 moveq.l D0, 0x00
00000AEA 7200 moveq.l D1, 0x00
00000AEC 0C10 0026 cmpi.b [A0], 0x26 /* '&' */
00000AF0 6722 beq +0x24 /* 00000B14 */
label00000AF2:
00000AF2 61E2 bsr -0x1C /* 00000AD6 */
00000AF4 640C bcc +0xE /* 00000B02 */
00000AF6 D080 add.l D0, D0
00000AF8 2400 move.l D2, D0
00000AFA E588 lsl D0, 2
00000AFC D082 add.l D0, D2
00000AFE D081 add.l D0, D1
00000B00 60F0 bra -0xE /* 00000AF2 */
label00000B02:
00000B02 4A5F tst.w [A7]+
00000B04 6A02 bpl +0x4 /* 00000B08 */
00000B06 4480 neg.l D0
label00000B08:
00000B08 5388 subq.l A0, 1
label00000B0A:
00000B0A 0C18 0020 cmpi.b [A0]+, 0x20 /* ' ' */
00000B0E 67FA beq -0x4 /* 00000B0A */
00000B10 5388 subq.l A0, 1
00000B12 4E75 rts
label00000B14:
00000B14 5288 addq.l A0, 1
00000B16 0C10 0058 cmpi.b [A0], 0x58 /* 'X' */
00000B1A 6730 beq +0x32 /* 00000B4C */
00000B1C 0C10 004F cmpi.b [A0], 0x4F /* 'O' */
00000B20 673C beq +0x3E /* 00000B5E */
00000B22 0C10 0048 cmpi.b [A0], 0x48 /* 'H' */
00000B26 6602 bne +0x4 /* 00000B2A */
00000B28 5288 addq.l A0, 1
label00000B2A:
00000B2A 61AA bsr -0x54 /* 00000AD6 */
00000B2C 6518 bcs +0x1A /* 00000B46 */
00000B2E 0C01 0011 cmpi.b D1, 0x11
00000B32 65CE bcs -0x30 /* 00000B02 */
00000B34 5F01 subq.b D1, 7
00000B36 0C01 0010 cmpi.b D1, 0x10
00000B3A 650A bcs +0xC /* 00000B46 */
00000B3C 0401 0020 subi.b D1, 0x20 /* ' ' */
00000B40 0C01 0010 cmpi.b D1, 0x10
00000B44 64BC bcc -0x42 /* 00000B02 */
label00000B46:
00000B46 E988 lsl D0, 4
00000B48 D041 add.w D0, D1
00000B4A 60DE bra -0x20 /* 00000B2A */
label00000B4C:
00000B4C 5288 addq.l A0, 1
label00000B4E:
00000B4E 1218 move.b D1, [A0]+
00000B50 0401 0030 subi.b D1, 0x30 /* '0' */
00000B54 65AC bcs -0x52 /* 00000B02 */
00000B56 E211 roxr D1.b, 1
00000B58 66A8 bne -0x56 /* 00000B02 */
00000B5A E390 roxl D0, 1
00000B5C 60F0 bra -0xE /* 00000B4E */
label00000B5E:
00000B5E 5288 addq.l A0, 1
label00000B60:
00000B60 1218 move.b D1, [A0]+
00000B62 0401 0030 subi.b D1, 0x30 /* '0' */
00000B66 0C01 0008 cmpi.b D1, 0x8
00000B6A 6496 bcc -0x68 /* 00000B02 */
00000B6C E788 lsl D0, 3
00000B6E 8001 or.b D0, D1
00000B70 60EE bra -0x10 /* 00000B60 */
export_47:
00000B72 206D FFFC movea.l A0, [A5 - 0x4]
00000B76 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00000B7C 245F movea.l A2, [A7]+
00000B7E 301F move.w D0, [A7]+
00000B80 0C40 8000 cmpi.w D0, 0x8000
00000B84 6704 beq +0x6 /* 00000B8A */
00000B86 3B40 F8FE move.w [A5 - 0x702], D0
label00000B8A:
00000B8A 301F move.w D0, [A7]+
00000B8C 0C40 8000 cmpi.w D0, 0x8000
00000B90 6704 beq +0x6 /* 00000B96 */
00000B92 3B40 F900 move.w [A5 - 0x700], D0
label00000B96:
00000B96 486D F8FE pea.l [A5 - 0x702]
00000B9A 486D F780 pea.l [A5 - 0x880]
00000B9E 486D F87E pea.l [A5 - 0x782]
00000BA2 A8F9 syscall MapPt
00000BA4 2F2D F8FE move.l -[A7], [A5 - 0x702]
00000BA8 A893 syscall MoveTo
00000BAA 4ED2 jmp [A2]
00000BAC 202F 0004 move.l D0, [A7 + 0x4]
00000BB0 4840 swap.w D0
00000BB2 90B8 0A02 sub.l D0, [0x00000A02 /* OneOne */]
00000BB6 2F40 0004 move.l [A7 + 0x4], D0
export_38:
00000BBA 206D FFFC movea.l A0, [A5 - 0x4]
00000BBE 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00000BC4 245F movea.l A2, [A7]+
00000BC6 301F move.w D0, [A7]+
00000BC8 6B1A bmi +0x1C /* 00000BE4 */
00000BCA 322D F86A move.w D1, [A5 - 0x796]
00000BCE D26D F86C add.w D1, [A5 - 0x794]
00000BD2 D26D F870 add.w D1, [A5 - 0x790]
00000BD6 C0C1 mulu.w D0, D1
00000BD8 D06D F86A add.w D0, [A5 - 0x796]
00000BDC D06D F86C add.w D0, [A5 - 0x794]
00000BE0 3B40 F8FE move.w [A5 - 0x702], D0
label00000BE4:
00000BE4 301F move.w D0, [A7]+
00000BE6 6B0A bmi +0xC /* 00000BF2 */
00000BE8 C0ED F86E mulu.w D0, [A5 - 0x792]
00000BEC 5440 addq.w D0, 2
00000BEE 3B40 F900 move.w [A5 - 0x700], D0
label00000BF2:
00000BF2 2F2D F8FE move.l -[A7], [A5 - 0x702]
00000BF6 A893 syscall MoveTo
00000BF8 4ED2 jmp [A2]
00000BFA 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000C00 206D F830 movea.l A0, [A5 - 0x7D0]
00000C04 4A2D FD85 tst.b [A5 - 0x27B]
00000C08 6704 beq +0x6 /* 00000C0E */
00000C0A 7407 moveq.l D2, 0x07
00000C0C 6004 bra +0x6 /* 00000C12 */
label00000C0E:
00000C0E 7403 moveq.l D2, 0x03
00000C10 4840 swap.w D0
label00000C12:
00000C12 2F08 move.l -[A7], A0
00000C14 1082 move.b [A0], D2
00000C16 5218 addq.b [A0]+, 1
label00000C18:
00000C18 7200 moveq.l D1, 0x00
00000C1A E998 rol D0, 4
00000C1C 1200 move.b D1, D0
00000C1E 0201 000F andi.b D1, 0xF
00000C22 0601 0030 addi.b D1, 0x30 /* '0' */
00000C26 0C01 003A cmpi.b D1, 0x3A /* ':' */
00000C2A 6502 bcs +0x4 /* 00000C2E */
00000C2C 5E01 addq.b D1, 7
label00000C2E:
00000C2E 10C1 move.b [A0]+, D1
00000C30 51CA FFE6 dbf D2, -0x1C /* 00000C18 */
00000C34 205F movea.l A0, [A7]+
00000C36 4E75 rts
00000C38 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000C3E 206D F830 movea.l A0, [A5 - 0x7D0]
00000C42 4A2D FD85 tst.b [A5 - 0x27B]
00000C46 6706 beq +0x8 /* 00000C4E */
00000C48 740A moveq.l D2, 0x0A
00000C4A E598 rol D0, 2
00000C4C 6008 bra +0xA /* 00000C56 */
label00000C4E:
00000C4E 7405 moveq.l D2, 0x05
00000C50 4840 swap.w D0
00000C52 4240 clr.w D0
00000C54 E398 rol D0, 1
label00000C56:
00000C56 2F08 move.l -[A7], A0
00000C58 1082 move.b [A0], D2
00000C5A 5218 addq.b [A0]+, 1
label00000C5C:
00000C5C 1200 move.b D1, D0
00000C5E 0201 0007 andi.b D1, 0x7
00000C62 0001 0030 ori.b D1, 0x30 /* '0' */
00000C66 10C1 move.b [A0]+, D1
00000C68 E798 rol D0, 3
00000C6A 51CA FFF0 dbf D2, -0x12 /* 00000C5C */
00000C6E 205F movea.l A0, [A7]+
00000C70 4E75 rts
00000C72 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000C78 206D F830 movea.l A0, [A5 - 0x7D0]
00000C7C 4A2D FD85 tst.b [A5 - 0x27B]
00000C80 6704 beq +0x6 /* 00000C86 */
00000C82 741F moveq.l D2, 0x1F
00000C84 6004 bra +0x6 /* 00000C8A */
label00000C86:
00000C86 740F moveq.l D2, 0x0F
00000C88 4840 swap.w D0
label00000C8A:
00000C8A 2F08 move.l -[A7], A0
00000C8C 1082 move.b [A0], D2
00000C8E 5218 addq.b [A0]+, 1
label00000C90:
00000C90 7200 moveq.l D1, 0x00
00000C92 D080 add.l D0, D0
00000C94 E311 roxl D1.b, 1
00000C96 0001 0030 ori.b D1, 0x30 /* '0' */
00000C9A 10C1 move.b [A0]+, D1
00000C9C 51CA FFF2 dbf D2, -0x10 /* 00000C90 */
00000CA0 205F movea.l A0, [A7]+
00000CA2 4E75 rts
fn00000CA4:
00000CA4 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000CAA 2038 020C move.l D0, [0x0000020C /* Time */]
00000CAE 41ED FD98 lea.l A0, [A5 - 0x268]
00000CB2 A9C6 syscall SecondsToDate/Secs2Date
00000CB4 4E75 rts
00000CB6 61EC bsr -0x12 /* 00000CA4 */
00000CB8 206D F830 movea.l A0, [A5 - 0x7D0]
00000CBC 10FC 0008 move.b [A0]+, 0x8
00000CC0 163C 003A move.b D3, 0x3A /* ':' */
00000CC4 7000 moveq.l D0, 0x00
00000CC6 302D FD9E move.w D0, [A5 - 0x262]
00000CCA 6100 FDAA bsr -0x254 /* 00000A76 */
00000CCE 7000 moveq.l D0, 0x00
00000CD0 302D FDA0 move.w D0, [A5 - 0x260]
00000CD4 6100 FDA0 bsr -0x25E /* 00000A76 */
00000CD8 7000 moveq.l D0, 0x00
00000CDA 302D FDA2 move.w D0, [A5 - 0x25E]
00000CDE 6100 FDA0 bsr -0x25E /* 00000A80 */
00000CE2 206D F830 movea.l A0, [A5 - 0x7D0]
00000CE6 4E75 rts
00000CE8 61BA bsr -0x44 /* 00000CA4 */
00000CEA 206D F830 movea.l A0, [A5 - 0x7D0]
00000CEE 10FC 0008 move.b [A0]+, 0x8
00000CF2 163C 002F move.b D3, 0x2F /* '/' */
00000CF6 7000 moveq.l D0, 0x00
00000CF8 302D FD9A move.w D0, [A5 - 0x266]
00000CFC 6100 FD78 bsr -0x286 /* 00000A76 */
00000D00 7000 moveq.l D0, 0x00
00000D02 302D FD9C move.w D0, [A5 - 0x264]
00000D06 6100 FD6E bsr -0x290 /* 00000A76 */
00000D0A 7000 moveq.l D0, 0x00
00000D0C 302D FD98 move.w D0, [A5 - 0x268]
00000D10 0440 076C subi.w D0, 0x76C
00000D14 6100 FD6A bsr -0x294 /* 00000A80 */
00000D18 206D F830 movea.l A0, [A5 - 0x7D0]
00000D1C 4E75 rts
00000D1E 2038 020C move.l D0, [0x0000020C /* Time */]
00000D22 41ED FD98 lea.l A0, [A5 - 0x268]
00000D26 A9C6 syscall SecondsToDate/Secs2Date
00000D28 265F movea.l A3, [A7]+
00000D2A 301F move.w D0, [A7]+
00000D2C 6B04 bmi +0x6 /* 00000D32 */
00000D2E 3B40 FD98 move.w [A5 - 0x268], D0
label00000D32:
00000D32 301F move.w D0, [A7]+
00000D34 6B04 bmi +0x6 /* 00000D3A */
00000D36 3B40 FD9C move.w [A5 - 0x264], D0
label00000D3A:
00000D3A 301F move.w D0, [A7]+
00000D3C 6B2C bmi +0x2E /* 00000D6A */
00000D3E 3B40 FD9A move.w [A5 - 0x266], D0
00000D42 6026 bra +0x28 /* 00000D6A */
00000D44 45ED FDA2 lea.l A2, [A5 - 0x25E]
00000D48 2038 020C move.l D0, [0x0000020C /* Time */]
00000D4C 41ED FD98 lea.l A0, [A5 - 0x268]
00000D50 A9C6 syscall SecondsToDate/Secs2Date
00000D52 265F movea.l A3, [A7]+
00000D54 301F move.w D0, [A7]+
00000D56 6B02 bmi +0x4 /* 00000D5A */
00000D58 3480 move.w [A2], D0
label00000D5A:
00000D5A 558A subq.l A2, 2
00000D5C 301F move.w D0, [A7]+
00000D5E 6B02 bmi +0x4 /* 00000D62 */
00000D60 3480 move.w [A2], D0
label00000D62:
00000D62 558A subq.l A2, 2
00000D64 301F move.w D0, [A7]+
00000D66 6B02 bmi +0x4 /* 00000D6A */
00000D68 3480 move.w [A2], D0
label00000D6A:
00000D6A 41ED FD98 lea.l A0, [A5 - 0x268]
00000D6E A9C7 syscall DateToSeconds/Date2Secs
00000D70 A03A syscall SetDateTime
00000D72 4ED3 jmp [A3]
00000D74 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000D7A 206D F7FA movea.l A0, [A5 - 0x806]
00000D7E 7200 moveq.l D1, 0x00
00000D80 1228 0099 move.b D1, [A0 + 0x99]
00000D84 E949 lsl D1.w, 4
00000D86 206D F7EC movea.l A0, [A5 - 0x814]
00000D8A 41F0 1004 lea.l A0, [A0 + D1.w + 0x4]
label00000D8E:
00000D8E 2210 move.l D1, [A0]
00000D90 6732 beq +0x34 /* 00000DC4 */
00000D92 2041 movea.l A0, D1
00000D94 2050 movea.l A0, [A0]
00000D96 B068 0004 cmp.w D0, [A0 + 0x4]
00000D9A 66F2 bne -0xC /* 00000D8E */
00000D9C 2468 0012 movea.l A2, [A0 + 0x12]
00000DA0 204A movea.l A0, A2
00000DA2 A025 syscall GetHandleSize
00000DA4 0C40 00FF cmpi.w D0, 0xFF
00000DA8 6304 bls +0x6 /* 00000DAE */
00000DAA 303C 00FF move.w D0, 0xFF
label00000DAE:
00000DAE 2452 movea.l A2, [A2]
00000DB0 206D F830 movea.l A0, [A5 - 0x7D0]
00000DB4 10C0 move.b [A0]+, D0
00000DB6 6002 bra +0x4 /* 00000DBA */
label00000DB8:
00000DB8 10DA move.b [A0]+, [A2]+
label00000DBA:
00000DBA 51C8 FFFC dbf D0, -0x6 /* 00000DB8 */
00000DBE 206D F830 movea.l A0, [A5 - 0x7D0]
00000DC2 4E75 rts
label00000DC4:
00000DC4 206D F830 movea.l A0, [A5 - 0x7D0]
00000DC8 4250 clr.w [A0]
00000DCA 4E75 rts
00000DCC 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000DD2 206D F830 movea.l A0, [A5 - 0x7D0]
00000DD6 4A2D FD85 tst.b [A5 - 0x27B]
00000DDA 6708 beq +0xA /* 00000DE4 */
00000DDC 10FC 000A move.b [A0]+, 0xA /* '\n' */
00000DE0 7200 moveq.l D1, 0x00
00000DE2 600C bra +0xE /* 00000DF0 */
label00000DE4:
00000DE4 10FC 0005 move.b [A0]+, 0x5
00000DE8 7205 moveq.l D1, 0x05
00000DEA 0280 0000 FFFF andi.l D0, 0xFFFF
label00000DF0:
00000DF0 6100 FC94 bsr -0x36A /* 00000A86 */
00000DF4 206D F830 movea.l A0, [A5 - 0x7D0]
00000DF8 4E75 rts
00000DFA 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000E00 206D F830 movea.l A0, [A5 - 0x7D0]
00000E04 4218 clr.b [A0]+
00000E06 2F08 move.l -[A7], A0
00000E08 4EBA 5154 jsr [PC + 0x5154 /* 00005F5E */]
00000E0C 2008 move.l D0, A0
00000E0E 909F sub.l D0, [A7]+
00000E10 206D F830 movea.l A0, [A5 - 0x7D0]
00000E14 1080 move.b [A0], D0
00000E16 4E75 rts
export_45:
fn00000E18:
00000E18 4A18 tst.b [A0]+
00000E1A 6602 bne +0x4 /* 00000E1E */
00000E1C 5388 subq.l A0, 1
export_44:
fn00000E1E:
00000E1E 7000 moveq.l D0, 0x00
00000E20 1010 move.b D0, [A0]
00000E22 4E75 rts
00000E24 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000E2A 206D F830 movea.l A0, [A5 - 0x7D0]
00000E2E 0280 0000 FFFF andi.l D0, 0xFFFF
00000E34 4EFA 09A6 jmp [PC + 0x9A6 /* 000017DC */]
00000E38 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000E3E 206D F830 movea.l A0, [A5 - 0x7D0]
00000E42 7204 moveq.l D1, 0x04
00000E44 4A2D FD85 tst.b [A5 - 0x27B]
00000E48 6604 bne +0x6 /* 00000E4E */
00000E4A 7202 moveq.l D1, 0x02
00000E4C 4840 swap.w D0
label00000E4E:
00000E4E 10C1 move.b [A0]+, D1
00000E50 5341 subq.w D1, 1
label00000E52:
00000E52 E198 rol D0, 8
00000E54 10C0 move.b [A0]+, D0
00000E56 51C9 FFFA dbf D1, -0x8 /* 00000E52 */
00000E5A 206D F830 movea.l A0, [A5 - 0x7D0]
00000E5E 4E75 rts
00000E60 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000E66 4A2D FD85 tst.b [A5 - 0x27B]
00000E6A 672A beq +0x2C /* 00000E96 */
00000E6C 206D F830 movea.l A0, [A5 - 0x7D0]
00000E70 10AD FEC5 move.b [A0], [A5 - 0x13B]
00000E74 5210 addq.b [A0], 1
00000E76 5488 addq.l A0, 2
00000E78 4EBA 5408 jsr [PC + 0x5408 /* 00006282 */]
00000E7C 206D F830 movea.l A0, [A5 - 0x7D0]
00000E80 5288 addq.l A0, 1
00000E82 2248 movea.l A1, A0
00000E84 5289 addq.l A1, 1
00000E86 302D FEC4 move.w D0, [A5 - 0x13C]
label00000E8A:
00000E8A 10D9 move.b [A0]+, [A1]+
00000E8C 51C8 FFFC dbf D0, -0x6 /* 00000E8A */
00000E90 206D F830 movea.l A0, [A5 - 0x7D0]
00000E94 4E75 rts
label00000E96:
00000E96 206D F830 movea.l A0, [A5 - 0x7D0]
00000E9A 10ED FEC7 move.b [A0]+, [A5 - 0x139]
00000E9E 5228 FFFF addq.b [A0 - 0x1], 1
00000EA2 4EBA 5348 jsr [PC + 0x5348 /* 000061EC */]
00000EA6 206D F830 movea.l A0, [A5 - 0x7D0]
00000EAA 4E75 rts
export_43:
00000EAC 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000EB2 4EBA 2EA8 jsr [PC + 0x2EA8 /* 00003D5C */]
00000EB6 206D F830 movea.l A0, [A5 - 0x7D0]
00000EBA 660E bne +0x10 /* 00000ECA */
00000EBC 4250 clr.w [A0]
00000EBE 4E75 rts
export_46:
00000EC0 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000EC6 206D F830 movea.l A0, [A5 - 0x7D0]
label00000ECA:
00000ECA 10BC 0001 move.b [A0], 0x1
00000ECE 1140 0001 move.b [A0 + 0x1], D0
00000ED2 4E75 rts
00000ED4 2200 move.l D1, D0
00000ED6 103C 0020 move.b D0, 0x20 /* ' ' */
00000EDA 6004 bra +0x6 /* 00000EE0 */
00000EDC 6100 FF3A bsr -0xC4 /* 00000E18 */
label00000EE0:
00000EE0 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000EE6 206D F830 movea.l A0, [A5 - 0x7D0]
00000EEA 2248 movea.l A1, A0
00000EEC 12C1 move.b [A1]+, D1
00000EEE 0241 00FF andi.w D1, 0xFF
00000EF2 6708 beq +0xA /* 00000EFC */
00000EF4 5341 subq.w D1, 1
label00000EF6:
00000EF6 12C0 move.b [A1]+, D0
00000EF8 51C9 FFFC dbf D1, -0x6 /* 00000EF6 */
label00000EFC:
00000EFC 4E75 rts
00000EFE 43ED F90E lea.l A1, [A5 - 0x6F2]
00000F02 4A81 tst.l D1
00000F04 672A beq +0x2C /* 00000F30 */
00000F06 4A80 tst.l D0
00000F08 6726 beq +0x28 /* 00000F30 */
00000F0A 7600 moveq.l D3, 0x00
00000F0C 1610 move.b D3, [A0]
00000F0E 9640 sub.w D3, D0
00000F10 D0C0 add.w A0, D0
00000F12 B641 cmp.w D3, D1
00000F14 6D04 blt +0x6 /* 00000F1A */
00000F16 5341 subq.w D1, 1
00000F18 3601 move.w D3, D1
label00000F1A:
00000F1A 7200 moveq.l D1, 0x00
00000F1C 1219 move.b D1, [A1]+
00000F1E B641 cmp.w D3, D1
00000F20 6D04 blt +0x6 /* 00000F26 */
00000F22 5341 subq.w D1, 1
00000F24 3601 move.w D3, D1
label00000F26:
00000F26 4A43 tst.w D3
00000F28 6B06 bmi +0x8 /* 00000F30 */
label00000F2A:
00000F2A 10D9 move.b [A0]+, [A1]+
00000F2C 51CB FFFC dbf D3, -0x6 /* 00000F2A */
label00000F30:
00000F30 426D F90E clr.w [A5 - 0x6F2]
00000F34 4E75 rts
00000F36 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000F3C 226D F830 movea.l A1, [A5 - 0x7D0]
00000F40 4211 clr.b [A1]
00000F42 4A00 tst.b D0
00000F44 6758 beq +0x5A /* 00000F9E */
00000F46 4A41 tst.w D1
00000F48 6602 bne +0x4 /* 00000F4C */
00000F4A 7201 moveq.l D1, 0x01
label00000F4C:
00000F4C 7600 moveq.l D3, 0x00
00000F4E 1610 move.b D3, [A0]
00000F50 674C beq +0x4E /* 00000F9E */
00000F52 D0C1 add.w A0, D1
00000F54 9641 sub.w D3, D1
00000F56 6546 bcs +0x48 /* 00000F9E */
00000F58 5243 addq.w D3, 1
00000F5A B043 cmp.w D0, D3
00000F5C 6330 bls +0x32 /* 00000F8E */
00000F5E 3003 move.w D0, D3
00000F60 602C bra +0x2E /* 00000F8E */
00000F62 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000F68 226D F830 movea.l A1, [A5 - 0x7D0]
00000F6C 7200 moveq.l D1, 0x00
00000F6E 1218 move.b D1, [A0]+
00000F70 9200 sub.b D1, D0
00000F72 6404 bcc +0x6 /* 00000F78 */
00000F74 D001 add.b D0, D1
00000F76 7200 moveq.l D1, 0x00
label00000F78:
00000F78 D0C1 add.w A0, D1
00000F7A 6012 bra +0x14 /* 00000F8E */
00000F7C 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00000F82 226D F830 movea.l A1, [A5 - 0x7D0]
00000F86 B018 cmp.b D0, [A0]+
00000F88 6304 bls +0x6 /* 00000F8E */
00000F8A 1028 FFFF move.b D0, [A0 - 0x1]
label00000F8E:
00000F8E 12C0 move.b [A1]+, D0
00000F90 670C beq +0xE /* 00000F9E */
00000F92 0240 00FF andi.w D0, 0xFF
00000F96 5340 subq.w D0, 1
label00000F98:
00000F98 12D8 move.b [A1]+, [A0]+
00000F9A 51C8 FFFC dbf D0, -0x6 /* 00000F98 */
label00000F9E:
00000F9E 206D F830 movea.l A0, [A5 - 0x7D0]
00000FA2 4E75 rts
00000FA4 A852 syscall HideCursor
00000FA6 4EBA 2558 jsr [PC + 0x2558 /* 00003500 */]
00000FAA 4267 clr.w -[A7]
00000FAC 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000FB0 3F3C FFFF move.w -[A7], 0xFFFF
00000FB4 3F3C 0002 move.w -[A7], 0x2
00000FB8 4EBA 2676 jsr [PC + 0x2676 /* 00003630 */]
00000FBC 7E06 moveq.l D7, 0x06
label00000FBE:
00000FBE 7C09 moveq.l D6, 0x09
00000FC0 47ED FDC4 lea.l A3, [A5 - 0x23C]
label00000FC4:
00000FC4 0C47 0006 cmpi.w D7, 0x6
00000FC8 6704 beq +0x6 /* 00000FCE */
00000FCA 6100 F91A bsr -0x6E4 /* 000008E6 */
label00000FCE:
00000FCE 303C 019C move.w D0, 0x19C
00000FD2 6100 F564 bsr -0xA9A /* 00000538 */
00000FD6 0640 001E addi.w D0, 0x1E
00000FDA 3680 move.w [A3], D0
00000FDC 303C 012C move.w D0, 0x12C
00000FE0 6100 F556 bsr -0xAA8 /* 00000538 */
00000FE4 3740 0002 move.w [A3 + 0x2], D0
00000FE8 6100 F8FC bsr -0x702 /* 000008E6 */
00000FEC 303C 03E8 move.w D0, 0x3E8
00000FF0 6100 F546 bsr -0xAB8 /* 00000538 */
00000FF4 0640 00C8 addi.w D0, 0xC8
00000FF8 3F00 move.w -[A7], D0
00000FFA 701E moveq.l D0, 0x1E
00000FFC 2F00 move.l -[A7], D0
00000FFE 3F3C 00C8 move.w -[A7], 0xC8
00001002 4EBA 0228 jsr [PC + 0x228 /* 0000122C */]
00001006 588B addq.l A3, 4
00001008 51CE FFBA dbf D6, -0x48 /* 00000FC4 */
0000100C 51CF FFB0 dbf D7, -0x52 /* 00000FBE */
00001010 7C09 moveq.l D6, 0x09
00001012 45FA 034A lea.l A2, [PC + 0x34A /* 0000135E, value 0x32966496 */]
00001016 47ED FDC4 lea.l A3, [A5 - 0x23C]
label0000101A:
0000101A 6100 F8CA bsr -0x734 /* 000008E6 */
0000101E 7000 moveq.l D0, 0x00
00001020 101A move.b D0, [A2]+
00001022 3680 move.w [A3], D0
00001024 101A move.b D0, [A2]+
00001026 3740 0002 move.w [A3 + 0x2], D0
0000102A 6100 F8BA bsr -0x744 /* 000008E6 */
0000102E 700A moveq.l D0, 0x0A
00001030 9046 sub.w D0, D6
00001032 EF48 lsl D0.w, 7
00001034 0640 0064 addi.w D0, 0x64 /* 'd' */
00001038 3F00 move.w -[A7], D0
0000103A 7032 moveq.l D0, 0x32
0000103C 2F00 move.l -[A7], D0
0000103E 3F3C 00FF move.w -[A7], 0xFF
00001042 4EBA 01E8 jsr [PC + 0x1E8 /* 0000122C */]
00001046 588B addq.l A3, 4
00001048 51CE FFD0 dbf D6, -0x32 /* 0000101A */
0000104C A853 syscall ShowCursor
0000104E 4E75 rts
export_58:
00001050 086D 0000 F832 bchg.b [A5 - 0x7CE], 0x0
00001056 226D F830 movea.l A1, [A5 - 0x7D0]
0000105A 7600 moveq.l D3, 0x00
0000105C 1618 move.b D3, [A0]+
0000105E 12C3 move.b [A1]+, D3
00001060 671A beq +0x1C /* 0000107C */
00001062 5343 subq.w D3, 1
label00001064:
00001064 1018 move.b D0, [A0]+
00001066 0C00 0061 cmpi.b D0, 0x61 /* 'a' */
0000106A 650A bcs +0xC /* 00001076 */
0000106C 0C00 007A cmpi.b D0, 0x7A /* 'z' */
00001070 6204 bhi +0x6 /* 00001076 */
00001072 0200 005F andi.b D0, 0x5F /* '_' */
label00001076:
00001076 12C0 move.b [A1]+, D0
00001078 51CB FFEA dbf D3, -0x18 /* 00001064 */
label0000107C:
0000107C 206D F830 movea.l A0, [A5 - 0x7D0]
00001080 4E75 rts
00001082 C149 exg A0, A1
00001084 6120 bsr +0x22 /* 000010A6 */
00001086 6516 bcs +0x18 /* 0000109E */
00001088 6016 bra +0x18 /* 000010A0 */
export_66:
0000108A 611A bsr +0x1C /* 000010A6 */
0000108C 6710 beq +0x12 /* 0000109E */
0000108E 6010 bra +0x12 /* 000010A0 */
00001090 C149 exg A0, A1
00001092 6112 bsr +0x14 /* 000010A6 */
00001094 6408 bcc +0xA /* 0000109E */
00001096 6008 bra +0xA /* 000010A0 */
00001098 4EBA 000C jsr [PC + 0xC /* 000010A6 */]
0000109C 6702 beq +0x4 /* 000010A0 */
label0000109E:
0000109E 70FF moveq.l D0, 0xFFFFFFFF
label000010A0:
000010A0 426D F90E clr.w [A5 - 0x6F2]
000010A4 4E75 rts
fn000010A6:
000010A6 1218 move.b D1, [A0]+
000010A8 1419 move.b D2, [A1]+
000010AA 7000 moveq.l D0, 0x00
000010AC 7600 moveq.l D3, 0x00
000010AE 1602 move.b D3, D2
000010B0 B401 cmp.b D2, D1
000010B2 6402 bcc +0x4 /* 000010B6 */
000010B4 1601 move.b D3, D1
label000010B6:
000010B6 5343 subq.w D3, 1
000010B8 6B08 bmi +0xA /* 000010C2 */
label000010BA:
000010BA B308 cmpm.b [A1]+, [A0]+
000010BC 56CB FFFC dbne D3, -0x6 /* 000010BA */
000010C0 6602 bne +0x4 /* 000010C4 */
label000010C2:
000010C2 B202 cmp.b D1, D2
label000010C4:
000010C4 4E75 rts
export_31:
000010C6 7000 moveq.l D0, 0x00
000010C8 1018 move.b D0, [A0]+
000010CA 6718 beq +0x1A /* 000010E4 */
000010CC 3600 move.w D3, D0
000010CE 43ED F90E lea.l A1, [A5 - 0x6F2]
000010D2 D011 add.b D0, [A1]
000010D4 650E bcs +0x10 /* 000010E4 */
000010D6 1011 move.b D0, [A1]
000010D8 D719 add.b [A1]+, D3
000010DA D3C0 add.l A1, D0
000010DC 5343 subq.w D3, 1
label000010DE:
000010DE 12D8 move.b [A1]+, [A0]+
000010E0 51CB FFFC dbf D3, -0x6 /* 000010DE */
label000010E4:
000010E4 4E75 rts
export_34:
label000010E6:
000010E6 43ED F90E lea.l A1, [A5 - 0x6F2]
000010EA 7000 moveq.l D0, 0x00
000010EC 1011 move.b D0, [A1]
000010EE E208 lsr D0.b, 1
label000010F0:
000010F0 30D9 move.w [A0]+, [A1]+
000010F2 51C8 FFFC dbf D0, -0x6 /* 000010F0 */
label000010F6:
000010F6 426D F90E clr.w [A5 - 0x6F2]
000010FA 4E75 rts
000010FC 41ED F90E lea.l A0, [A5 - 0x6F2]
export_39:
fn00001100:
00001100 7600 moveq.l D3, 0x00
00001102 1618 move.b D3, [A0]+
00001104 67F0 beq -0xE /* 000010F6 */
fn00001106:
00001106 5343 subq.w D3, 1
label00001108:
00001108 1018 move.b D0, [A0]+
0000110A 4EBA 2834 jsr [PC + 0x2834 /* 00003940 */]
0000110E 51CB FFF8 dbf D3, -0xA /* 00001108 */
00001112 60E2 bra -0x1C /* 000010F6 */
00001114 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00001118 3F3C 0003 move.w -[A7], 0x3
0000111C A9C8 syscall SysBeep
0000111E 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00001122 4E75 rts
fn00001124:
00001124 2401 move.l D2, D1
00001126 2F08 move.l -[A7], A0
00001128 6006 bra +0x8 /* 00001130 */
0000112A 2401 move.l D2, D1
0000112C 2F08 move.l -[A7], A0
0000112E 6004 bra +0x6 /* 00001134 */
label00001130:
00001130 4EBA 2BA2 jsr [PC + 0x2BA2 /* 00003CD4 */]
label00001134:
00001134 0C00 007F cmpi.b D0, 0x7F
00001138 6750 beq +0x52 /* 0000118A */
0000113A 0C00 0082 cmpi.b D0, 0x82
0000113E 676A beq +0x6C /* 000011AA */
00001140 0C00 00F4 cmpi.b D0, 0xF4
00001144 675E beq +0x60 /* 000011A4 */
00001146 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
0000114A 6412 bcc +0x14 /* 0000115E */
0000114C 0C00 000D cmpi.b D0, 0xD /* '\r' */
00001150 675C beq +0x5E /* 000011AE */
00001152 0C00 0008 cmpi.b D0, 0x8
00001156 6732 beq +0x34 /* 0000118A */
00001158 0C00 0003 cmpi.b D0, 0x3
0000115C 6750 beq +0x52 /* 000011AE */
label0000115E:
0000115E 4A41 tst.w D1
00001160 6610 bne +0x12 /* 00001172 */
00001162 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00001166 3F3C 0003 move.w -[A7], 0x3
0000116A A9C8 syscall SysBeep
0000116C 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00001170 60BE bra -0x40 /* 00001130 */
label00001172:
00001172 10C0 move.b [A0]+, D0
00001174 4EBA 27CA jsr [PC + 0x27CA /* 00003940 */]
00001178 5341 subq.w D1, 1
0000117A 66B4 bne -0x4A /* 00001130 */
0000117C 082D 0001 FD89 btst.b [A5 - 0x277], 0x1
00001182 67AC beq -0x52 /* 00001130 */
00001184 023C 00FE andi.b ccr, 254
00001188 6024 bra +0x26 /* 000011AE */
label0000118A:
0000118A 6102 bsr +0x4 /* 0000118E */
0000118C 60A2 bra -0x5C /* 00001130 */
fn0000118E:
0000118E B441 cmp.w D2, D1
00001190 6710 beq +0x12 /* 000011A2 */
00001192 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
00001196 4EBA 2AE0 jsr [PC + 0x2AE0 /* 00003C78 */]
0000119A 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
0000119E 5388 subq.l A0, 1
000011A0 5241 addq.w D1, 1
label000011A2:
000011A2 4E75 rts
label000011A4:
000011A4 61E8 bsr -0x16 /* 0000118E */
000011A6 6788 beq -0x76 /* 00001130 */
000011A8 60FA bra -0x4 /* 000011A4 */
label000011AA:
000011AA 003C 0001 ori.b ccr, 1
label000011AE:
000011AE 40E7 move.w -[A7], SR
000011B0 10FC 0000 move.b [A0]+, 0x0
000011B4 082D 0000 FD89 btst.b [A5 - 0x277], 0x0
000011BA 6604 bne +0x6 /* 000011C0 */
000011BC 4EBA 276E jsr [PC + 0x276E /* 0000392C */]
label000011C0:
000011C0 9441 sub.w D2, D1
000011C2 2202 move.l D1, D2
000011C4 44DF move.b [A7]+, CCR
000011C6 205F movea.l A0, [A7]+
000011C8 4E75 rts
000011CA 205F movea.l A0, [A7]+
000011CC 4EBA 0012 jsr [PC + 0x12 /* 000011E0 */]
000011D0 588F addq.l A7, 4
000011D2 4EF0 0000 jmp [A0 + D0.w]
000011D6 205F movea.l A0, [A7]+
000011D8 4EBA 0006 jsr [PC + 0x6 /* 000011E0 */]
000011DC 4EF0 0000 jmp [A0 + D0.w]
fn000011E0:
000011E0 7200 moveq.l D1, 0x00
000011E2 3218 move.w D1, [A0]+
000011E4 5380 subq.l D0, 1
000011E6 B081 cmp.l D0, D1
000011E8 6502 bcs +0x4 /* 000011EC */
000011EA 588F addq.l A7, 4
label000011EC:
000011EC E548 lsl D0.w, 2
000011EE 4E75 rts
000011F0 4A40 tst.w D0
000011F2 6702 beq +0x4 /* 000011F6 */
000011F4 5340 subq.w D0, 1
label000011F6:
000011F6 7800 moveq.l D4, 0x00
000011F8 1819 move.b D4, [A1]+
000011FA 2F09 move.l -[A7], A1
000011FC 7400 moveq.l D2, 0x00
000011FE 1410 move.b D2, [A0]
00001200 9842 sub.w D4, D2
00001202 6B22 bmi +0x24 /* 00001226 */
00001204 9840 sub.w D4, D0
00001206 6B1E bmi +0x20 /* 00001226 */
00001208 D3C0 add.l A1, D0
0000120A 1418 move.b D2, [A0]+
0000120C 5342 subq.w D2, 1
0000120E 2009 move.l D0, A1
00001210 2208 move.l D1, A0
label00001212:
00001212 2041 movea.l A0, D1
00001214 2240 movea.l A1, D0
00001216 5280 addq.l D0, 1
00001218 3602 move.w D3, D2
label0000121A:
0000121A B308 cmpm.b [A1]+, [A0]+
0000121C 56CB FFFC dbne D3, -0x6 /* 0000121A */
00001220 57CC FFF0 dbeq D4, -0x12 /* 00001212 */
00001224 6702 beq +0x4 /* 00001228 */
label00001226:
00001226 2017 move.l D0, [A7]
label00001228:
00001228 909F sub.l D0, [A7]+
0000122A 4E75 rts
export_49:
fn0000122C:
0000122C 203C 0000 0080 move.l D0, 0x80
00001232 A31E syscall NewPtrClear, flags=3
00001234 6600 0048 bne +0x4A /* 0000127E */
00001238 2F08 move.l -[A7], A0
0000123A 30FC FFFF move.w [A0]+, 0xFFFF
0000123E 7000 moveq.l D0, 0x00
00001240 302F 000E move.w D0, [A7 + 0xE]
00001244 223C 0005 FA00 move.l D1, 0x5FA00
0000124A 6100 F29C bsr -0xD62 /* 000004E8 */
0000124E 30C0 move.w [A0]+, D0
00001250 30EF 0008 move.w [A0]+, [A7 + 0x8]
00001254 202F 000A move.l D0, [A7 + 0xA]
00001258 7203 moveq.l D1, 0x03
0000125A 6100 F24A bsr -0xDB4 /* 000004A6 */
0000125E 80FC 0032 divu.w D0, 0x32 /* '2' */
00001262 30C0 move.w [A0]+, D0
00001264 5C48 addq.w A0, 6
00001266 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
0000126C 2157 0020 move.l [A0 + 0x20], [A7]
00001270 217C 0000 000E 0024 move.l [A0 + 0x24], 0xE
00001278 A003 syscall Write
0000127A 205F movea.l A0, [A7]+
0000127C A01F syscall DisposPtr/DisposePtr
label0000127E:
0000127E 205F movea.l A0, [A7]+
00001280 508F addq.l A7, 8
00001282 4ED0 jmp [A0]
00001284 206D 0010 movea.l A0, [A5 + 0x10]
00001288 2050 movea.l A0, [A0]
0000128A 3C28 0002 move.w D6, [A0 + 0x2]
0000128E 4268 0002 clr.w [A0 + 0x2]
00001292 226F 0010 movea.l A1, [A7 + 0x10]
00001296 BC51 cmp.w D6, [A1]
00001298 6502 bcs +0x4 /* 0000129C */
0000129A 3C11 move.w D6, [A1]
label0000129C:
0000129C 3286 move.w [A1], D6
0000129E 7204 moveq.l D1, 0x04
000012A0 604E bra +0x50 /* 000012F0 */
label000012A2:
000012A2 226F 0004 movea.l A1, [A7 + 0x4]
000012A6 32B0 1000 move.w [A1], [A0 + D1.w]
000012AA 54AF 0004 addq.l [A7 + 0x4], 2
000012AE 5441 addq.w D1, 2
000012B0 226F 0008 movea.l A1, [A7 + 0x8]
000012B4 22B0 1000 move.l [A1], [A0 + D1.w]
000012B8 58AF 0008 addq.l [A7 + 0x8], 4
000012BC 5C41 addq.w D1, 6
000012BE 226F 000C movea.l A1, [A7 + 0xC]
000012C2 06AF 0000 0020 000C addi.l [A7 + 0xC], 0x20 /* ' ' */
000012CA 7400 moveq.l D2, 0x00
000012CC 45F0 1000 lea.l A2, [A0 + D1.w]
000012D0 1412 move.b D2, [A2]
000012D2 0C42 001F cmpi.w D2, 0x1F
000012D6 6302 bls +0x4 /* 000012DA */
000012D8 741F moveq.l D2, 0x1F
label000012DA:
000012DA 12DA move.b [A1]+, [A2]+
000012DC 51CA FFFC dbf D2, -0x6 /* 000012DA */
000012E0 7400 moveq.l D2, 0x00
000012E2 1430 1000 move.b D2, [A0 + D1.w]
000012E6 D282 add.l D1, D2
000012E8 5481 addq.l D1, 2
000012EA 0281 FFFF FFFE andi.l D1, 0xFFFFFFFE
label000012F0:
000012F0 51CE FFB0 dbf D6, -0x52 /* 000012A2 */
000012F4 3010 move.w D0, [A0]
000012F6 48C0 ext.l D0
label000012F8:
000012F8 2F57 0010 move.l [A7 + 0x10], [A7]
000012FC 4FEF 0010 lea.l A7, [A7 + 0x10]
00001300 4E75 rts
00001302 7019 moveq.l D0, 0x19
00001304 A9C9 syscall SysError
00001306 A9FF syscall Debugger
00001308 0114 btst [A4], D0
0000130A 0026 0004 ori.b -[A6], 0x4
0000130E 0140 bchg D0, D0
00001310 01FE .incomplete
00001312 0E42 7265 .invalid.w D2, 0x7265 /* 're' */ // invalid immediate operation
00001316 616B bsr +0x6D /* 00001383 */
00001318 2049 movea.l A0, A1
0000131A 6E20 bgt +0x22 /* 0000133C */
0000131C 4C69 6E65 2000 movem.l D0,D2,D5,D6,A1,A2,A3,A5,A6, [A1 + 0x2000]
00001322 1542 6F75 move.b [A2 + 0x6F75], D2
00001326 6E64 bgt +0x66 /* 0000138C */
00001328 7320 moveq.l D1, 0x20
0000132A 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
0000132E 7220 moveq.l D1, 0x20
00001330 696E bvs +0x70 /* 000013A0 */
00001332 204C movea.l A0, A4
label00001334:
00001334 696E bvs +0x70 /* 000013A4 */
00001336 6520 bcs +0x22 /* 00001358 */
00001338 023F 2000 andi.b <<invalid special address>>, 0x0
label0000133C:
0000133C 0000 085A ori.b D0, 0x5A /* 'Z' */
00001340 4441 neg.w D1
00001342 545A addq.w [A2]+, 2
00001344 4241 clr.w D1
00001346 5300 subq.b D0, 1
00001348 0A46 696C xori.w D6, 0x696C /* 'il' */
0000134C 6520 bcs +0x22 /* 0000136E */
0000134E 4E61 move USP, A1
00001350 6D65 blt +0x67 /* 000013B7 */
00001352 3F00 move.w -[A7], D0
00001354 5952 subq.w [A2], 4
00001356 5245 addq.w D5, 1
label00001358:
00001358 5454 addq.w [A4], 2
0000135A 544F addq.w A7, 2
0000135C 4353 chk.w D1, [A3]
0000135E 3296 move.w [A1], [A6]
00001360 6496 bcc -0x68 /* 000012F8 */
00001362 9696 sub.l D3, [A6]
00001364 C896 and.l D4, [A6]
00001366 FA96 32C8 .extension 0xA96 <<F/2-3/5>> // unimplemented
0000136A 64C8 bcc -0x36 /* 00001334 */
0000136C 96C8 sub.w A3, A0
label0000136E:
0000136E C8C8 mulu.w D4, A0
00001370 FAC8 0E4F .extension 0xAC8 <<F/2-3/5>> // unimplemented
00001374 7574 moveq.l D2, 0x74
00001376 206F 6620 movea.l A0, [A7 + 0x6620]
0000137A 4D65 chk.w D6, -[A5]
0000137C 6D6F blt +0x71 /* 000013ED */
0000137E 7279 moveq.l D1, 0x79
00001380 2117 move.l -[A0], [A7]
00001382 4361 chk.w D1, -[A1]
00001384 6E6E bgt +0x70 /* 000013F4 */
00001386 6F74 ble +0x76 /* 000013FC */
00001388 2045 movea.l A0, D5
0000138A 7865 moveq.l D4, 0x65
label0000138C:
0000138C 6375 bls +0x77 /* 00001403 */
0000138E 7465 moveq.l D2, 0x65
00001390 2050 movea.l A0, [A0]
00001392 726F moveq.l D1, 0x6F
00001394 6772 beq +0x74 /* 00001408 */
00001396 616D bsr +0x6F /* 00001405 */
00001398 2100 move.l -[A0], D0
0000139A 3B40 F760 move.w [A5 - 0x8A0], D0
0000139E 426D F74E clr.w [A5 - 0x8B2]
// begin alternate branch 000013A0-000013A2
label000013A0:
000013A0 F74E .extension 0x74E <<F/4-5/3>> // unimplemented
// end alternate branch 000013A0-000013A2
label000013A0: // (misaligned)
000013A2 2B48 FA0E move.l [A5 - 0x5F2], A0
// begin alternate branch 000013A4-000013AC
label000013A4:
000013A4 FA0E 203C .unknown 0xFA0E 0x203C (W = 5)
000013A8 0000 0100 ori.b D0, 0x0
// end alternate branch 000013A4-000013AC
label000013A4: // (misaligned)
000013A6 203C 0000 0100 move.l D0, 0x100
000013AC A31E syscall NewPtrClear, flags=3
000013AE 6600 03B8 bne +0x3BA /* 00001768 */
000013B2 302D F760 move.w D0, [A5 - 0x8A0]
000013B6 6712 beq +0x14 /* 000013CA */
000013B8 3140 0016 move.w [A0 + 0x16], D0
000013BC 42A8 0012 clr.l [A0 + 0x12]
000013C0 42A8 0030 clr.l [A0 + 0x30]
000013C4 A215 syscall SetVol/PBHSetVol/HSetVol, flags=2
000013C6 6600 03A0 bne +0x3A2 /* 00001768 */
label000013CA:
000013CA 4268 0016 clr.w [A0 + 0x16]
000013CE 216D FA0E 0012 move.l [A0 + 0x12], [A5 - 0x5F2]
000013D4 4228 001A clr.b [A0 + 0x1A]
000013D8 4268 001C clr.w [A0 + 0x1C]
000013DC 42A8 0030 clr.l [A0 + 0x30]
000013E0 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000013E2 670A beq +0xC /* 000013EE */
000013E4 0C40 FFD5 cmpi.w D0, 0xFFD5
000013E8 6700 001E beq +0x20 /* 00001408 */
000013EC 6020 bra +0x22 /* 0000140E */
label000013EE:
000013EE 2628 0020 move.l D3, [A0 + 0x20]
000013F2 A01F syscall DisposPtr/DisposePtr
label000013F4:
000013F4 41ED FA0E lea.l A0, [A5 - 0x5F2]
000013F8 4268 0004 clr.w [A0 + 0x4]
label000013FC:
000013FC 0C83 4150 504C cmpi.l D3, 0x4150504C /* 'APPL' */
00001402 660A bne +0xC /* 0000140E */
00001404 A9F2 syscall Launch/LaunchApplication
00001406 FFFF .invalid <<F/7/7>>
label00001408:
00001408 A01F syscall DisposPtr/DisposePtr
0000140A 4EFA 0324 jmp [PC + 0x324 /* 00001730 */]
label0000140E:
0000140E A01F syscall DisposPtr/DisposePtr
00001410 4EFA 034C jmp [PC + 0x34C /* 0000175E */]
00001414 3B40 F74E move.w [A5 - 0x8B2], D0
00001418 6B00 0328 bmi +0x32A /* 00001742 */
0000141C E948 lsl D0.w, 4
0000141E 206D F750 movea.l A0, [A5 - 0x8B0]
00001422 4AB0 0000 tst.l [A0 + D0.w]
00001426 6700 030E beq +0x310 /* 00001736 */
0000142A 2470 0000 movea.l A2, [A0 + D0.w]
0000142E 43F0 0000 lea.l A1, [A0 + D0.w]
00001432 2B49 F850 move.l [A5 - 0x7B0], A1
00001436 204A movea.l A0, A2
00001438 4268 001C clr.w [A0 + 0x1C]
0000143C A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
0000143E 0CA8 5A43 484E 0020 cmpi.l [A0 + 0x20], 0x5A43484E /* 'ZCHN' */
00001446 6600 01E0 bne +0x1E2 /* 00001628 */
0000144A 486D FB0E pea.l [A5 - 0x4F2]
0000144E 215F 0020 move.l [A0 + 0x20], [A7]+
00001452 7004 moveq.l D0, 0x04
00001454 2140 0024 move.l [A0 + 0x24], D0
00001458 4268 002C clr.w [A0 + 0x2C]
0000145C A002 syscall Read
0000145E 6600 01C8 bne +0x1CA /* 00001628 */
00001462 202D FB0E move.l D0, [A5 - 0x4F2]
00001466 B0AD FEC4 cmp.l D0, [A5 - 0x13C]
0000146A 6600 01BC bne +0x1BE /* 00001628 */
0000146E A002 syscall Read
00001470 6600 01B6 bne +0x1B8 /* 00001628 */
00001474 598F subq.l A7, 4
00001476 2F3C 5343 4F54 move.l -[A7], 0x53434F54 /* 'SCOT' */
0000147C 3F3C 0001 move.w -[A7], 0x1
00001480 A9A0 syscall GetResource
00001482 2057 movea.l A0, [A7]
00001484 A02A syscall HUnlock
00001486 202D FB0E move.l D0, [A5 - 0x4F2]
0000148A A024 syscall SetHandleSize
0000148C 205F movea.l A0, [A7]+
0000148E 6600 0198 bne +0x19A /* 00001628 */
00001492 A029 syscall HLock
00001494 2050 movea.l A0, [A0]
00001496 2B48 FD46 move.l [A5 - 0x2BA], A0
0000149A 2B48 FD66 move.l [A5 - 0x29A], A0
0000149E 2548 0020 move.l [A2 + 0x20], A0
000014A2 256D FB0E 0024 move.l [A2 + 0x24], [A5 - 0x4F2]
000014A8 204A movea.l A0, A2
000014AA A002 syscall Read
000014AC 6600 017A bne +0x17C /* 00001628 */
000014B0 486D FB0E pea.l [A5 - 0x4F2]
000014B4 255F 0020 move.l [A2 + 0x20], [A7]+
000014B8 7004 moveq.l D0, 0x04
000014BA 2540 0024 move.l [A2 + 0x24], D0
000014BE 204A movea.l A0, A2
000014C0 A002 syscall Read
000014C2 6600 0164 bne +0x166 /* 00001628 */
000014C6 226D FD46 movea.l A1, [A5 - 0x2BA]
000014CA D3ED FB0E add.l A1, [A5 - 0x4F2]
000014CE 2B49 FD62 move.l [A5 - 0x29E], A1
000014D2 323C 0080 move.w D1, 0x80
000014D6 4EBA 1F8E jsr [PC + 0x1F8E /* 00003466 */]
000014DA 598F subq.l A7, 4
000014DC 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000014E2 3F3C 0080 move.w -[A7], 0x80
000014E6 A9A0 syscall GetResource
000014E8 2057 movea.l A0, [A7]
000014EA A04A syscall HNoPurge
000014EC 2057 movea.l A0, [A7]
000014EE A02A syscall HUnlock
000014F0 486D FB0E pea.l [A5 - 0x4F2]
000014F4 255F 0020 move.l [A2 + 0x20], [A7]+
000014F8 7004 moveq.l D0, 0x04
000014FA 2540 0024 move.l [A2 + 0x24], D0
000014FE 204A movea.l A0, A2
00001500 A002 syscall Read
00001502 205F movea.l A0, [A7]+
00001504 6600 0122 bne +0x124 /* 00001628 */
00001508 2F08 move.l -[A7], A0
0000150A 202D FB0E move.l D0, [A5 - 0x4F2]
0000150E 5880 addq.l D0, 4
00001510 A024 syscall SetHandleSize
00001512 205F movea.l A0, [A7]+
00001514 6600 0112 bne +0x114 /* 00001628 */
00001518 A029 syscall HLock
0000151A 2050 movea.l A0, [A0]
0000151C 5888 addq.l A0, 4
0000151E 2548 0020 move.l [A2 + 0x20], A0
00001522 2648 movea.l A3, A0
00001524 256D FB0E 0024 move.l [A2 + 0x24], [A5 - 0x4F2]
0000152A 204A movea.l A0, A2
0000152C A002 syscall Read
0000152E 6600 00F8 bne +0xFA /* 00001628 */
00001532 700C moveq.l D0, 0x0C
00001534 2140 0024 move.l [A0 + 0x24], D0
00001538 486D FB0E pea.l [A5 - 0x4F2]
0000153C 215F 0020 move.l [A0 + 0x20], [A7]+
00001540 A002 syscall Read
00001542 6600 00E4 bne +0xE6 /* 00001628 */
00001546 A001 syscall Close
00001548 6600 0214 bne +0x216 /* 0000175E */
0000154C 226D F850 movea.l A1, [A5 - 0x7B0]
00001550 4291 clr.l [A1]
00001552 A01F syscall DisposPtr/DisposePtr
00001554 242D FB0E move.l D2, [A5 - 0x4F2]
00001558 4AAD FD5A tst.l [A5 - 0x2A6]
0000155C 6610 bne +0x12 /* 0000156E */
0000155E 2002 move.l D0, D2
00001560 673A beq +0x3C /* 0000159C */
00001562 A122 syscall NewHandle, flags=1
00001564 6600 00C6 bne +0xC8 /* 0000162C */
00001568 2B48 FD5A move.l [A5 - 0x2A6], A0
0000156C 6018 bra +0x1A /* 00001586 */
label0000156E:
0000156E 206D FD5A movea.l A0, [A5 - 0x2A6]
00001572 41E8 8000 lea.l A0, [A0 - 0x8000]
00001576 A128 syscall RecoverHandle, flags=1
00001578 2B48 FD5A move.l [A5 - 0x2A6], A0
0000157C A02A syscall HUnlock
0000157E 2002 move.l D0, D2
00001580 A024 syscall SetHandleSize
00001582 6600 00A8 bne +0xAA /* 0000162C */
label00001586:
00001586 2B42 FD56 move.l [A5 - 0x2AA], D2
0000158A 206D FD5A movea.l A0, [A5 - 0x2A6]
0000158E A029 syscall HLock
00001590 2050 movea.l A0, [A0]
00001592 49E8 7FFF lea.l A4, [A0 + 0x7FFF]
00001596 528C addq.l A4, 1
00001598 2B4C FD5A move.l [A5 - 0x2A6], A4
label0000159C:
0000159C 242D FB12 move.l D2, [A5 - 0x4EE]
000015A0 4AAD FD5E tst.l [A5 - 0x2A2]
000015A4 6610 bne +0x12 /* 000015B6 */
000015A6 2002 move.l D0, D2
000015A8 673A beq +0x3C /* 000015E4 */
000015AA A122 syscall NewHandle, flags=1
000015AC 6600 007E bne +0x80 /* 0000162C */
000015B0 2B48 FD5E move.l [A5 - 0x2A2], A0
000015B4 6018 bra +0x1A /* 000015CE */
label000015B6:
000015B6 206D FD5E movea.l A0, [A5 - 0x2A2]
000015BA 41E8 8000 lea.l A0, [A0 - 0x8000]
000015BE A128 syscall RecoverHandle, flags=1
000015C0 2B48 FD5E move.l [A5 - 0x2A2], A0
000015C4 A02A syscall HUnlock
000015C6 2002 move.l D0, D2
000015C8 A024 syscall SetHandleSize
000015CA 6600 0060 bne +0x62 /* 0000162C */
label000015CE:
000015CE 2B42 FD52 move.l [A5 - 0x2AE], D2
000015D2 206D FD5E movea.l A0, [A5 - 0x2A2]
000015D6 A029 syscall HLock
000015D8 2050 movea.l A0, [A0]
000015DA 4DE8 7FFF lea.l A6, [A0 + 0x7FFF]
000015DE 528E addq.l A6, 1
000015E0 2B4E FD5E move.l [A5 - 0x2A2], A6
label000015E4:
000015E4 242D FB16 move.l D2, [A5 - 0x4EA]
000015E8 4AAD FD6A tst.l [A5 - 0x296]
000015EC 6610 bne +0x12 /* 000015FE */
000015EE 2002 move.l D0, D2
000015F0 6730 beq +0x32 /* 00001622 */
000015F2 A122 syscall NewHandle, flags=1
000015F4 6600 0036 bne +0x38 /* 0000162C */
000015F8 2B48 FD6A move.l [A5 - 0x296], A0
000015FC 6014 bra +0x16 /* 00001612 */
label000015FE:
000015FE 206D FD6A movea.l A0, [A5 - 0x296]
00001602 A128 syscall RecoverHandle, flags=1
00001604 2B48 FD6A move.l [A5 - 0x296], A0
00001608 A02A syscall HUnlock
0000160A 2002 move.l D0, D2
0000160C A024 syscall SetHandleSize
0000160E 6600 001C bne +0x1E /* 0000162C */
label00001612:
00001612 2B42 FD4E move.l [A5 - 0x2B2], D2
00001616 206D FD6A movea.l A0, [A5 - 0x296]
0000161A A029 syscall HLock
0000161C 2050 movea.l A0, [A0]
0000161E 2B48 FD6A move.l [A5 - 0x296], A0
label00001622:
00001622 2E6D F70E movea.l A7, [A5 - 0x8F2]
00001626 4ED3 jmp [A3]
label00001628:
00001628 204A movea.l A0, A2
0000162A A001 syscall Close
label0000162C:
0000162C 487A 1378 pea.l [PC + 0x1378 /* 000029A6, value 0x18457272, pstring "Error loading Chain File" */]
00001630 487A 1362 pea.l [PC + 0x1362 /* 00002994, value 0x11457869, pstring "Exiting to Finder" */]
00001634 487A 12A6 pea.l [PC + 0x12A6 /* 000028DC, value 0x86E, cstring "" */]
00001638 487A 12A2 pea.l [PC + 0x12A2 /* 000028DC, value 0x86E, cstring "" */]
0000163C A98B syscall ParamText
0000163E 4267 clr.w -[A7]
00001640 3F3C 0081 move.w -[A7], 0x81
00001644 42A7 clr.l -[A7]
00001646 A986 syscall StopAlert
00001648 203C 0000 FFFF move.l D0, 0xFFFF
0000164E A032 syscall FlushEvents
00001650 2E6D F70E movea.l A7, [A5 - 0x8F2]
00001654 A9F4 syscall ExitToShell
00001656 2F08 move.l -[A7], A0
00001658 3F00 move.w -[A7], D0
0000165A 707F moveq.l D0, 0x7F
0000165C A31E syscall NewPtrClear, flags=3
0000165E 6706 beq +0x8 /* 00001666 */
00001660 5C8F addq.l A7, 6
00001662 4EFA 0104 jmp [PC + 0x104 /* 00001768 */]
label00001666:
00001666 315F 0016 move.w [A0 + 0x16], [A7]+
0000166A 215F 0012 move.l [A0 + 0x12], [A7]+
0000166E A009 syscall Delete/PBHDelete/HDelete
00001670 3F00 move.w -[A7], D0
00001672 42A8 0012 clr.l [A0 + 0x12]
00001676 A013 syscall FlushVol
00001678 A01F syscall DisposPtr/DisposePtr
0000167A 301F move.w D0, [A7]+
0000167C 670C beq +0xE /* 0000168A */
0000167E 0C40 FFD5 cmpi.w D0, 0xFFD5
00001682 6700 00AC beq +0xAE /* 00001730 */
00001686 4EFA 00D6 jmp [PC + 0xD6 /* 0000175E */]
label0000168A:
0000168A 4E75 rts
0000168C 48E7 00C0 movem.l -[A7], A0,A1
00001690 203C 0000 0100 move.l D0, 0x100
00001696 A31E syscall NewPtrClear, flags=3
00001698 6708 beq +0xA /* 000016A2 */
0000169A 3B40 F74A move.w [A5 - 0x8B6], D0
0000169E 4EFA 00C8 jmp [PC + 0xC8 /* 00001768 */]
label000016A2:
000016A2 215F 001C move.l [A0 + 0x1C], [A7]+
000016A6 215F 0012 move.l [A0 + 0x12], [A7]+
000016AA A00B syscall Rename/PBHRename/HRename
000016AC 6714 beq +0x16 /* 000016C2 */
000016AE 3B40 F74A move.w [A5 - 0x8B6], D0
000016B2 0C40 FFD5 cmpi.w D0, 0xFFD5
000016B6 6606 bne +0x8 /* 000016BE */
000016B8 487A 0076 pea.l [PC + 0x76 /* 00001730, value 0x303C0003, cstring "0<" */]
000016BC 6004 bra +0x6 /* 000016C2 */
label000016BE:
000016BE 487A 009E pea.l [PC + 0x9E /* 0000175E, value 0x303C000A '0<\0\n', cstring "0<" */]
label000016C2:
000016C2 A01F syscall DisposPtr/DisposePtr
000016C4 4E75 rts
000016C6 426D F74C clr.w [A5 - 0x8B4]
000016CA 1B40 F74D move.b [A5 - 0x8B3], D0
000016CE 426D F74E clr.w [A5 - 0x8B2]
000016D2 E058 ror D0.w, 8
000016D4 1B40 F74F move.b [A5 - 0x8B1], D0
000016D8 4E75 rts
000016DA 7000 moveq.l D0, 0x00
000016DC 4A2D F74D tst.b [A5 - 0x8B3]
000016E0 670A beq +0xC /* 000016EC */
000016E2 102D F74F move.b D0, [A5 - 0x8B1]
000016E6 E058 ror D0.w, 8
000016E8 102D F74D move.b D0, [A5 - 0x8B3]
label000016EC:
000016EC 4E75 rts
000016EE 3B40 F74E move.w [A5 - 0x8B2], D0
000016F2 6B00 004E bmi +0x50 /* 00001742 */
000016F6 E948 lsl D0.w, 4
000016F8 206D F750 movea.l A0, [A5 - 0x8B0]
000016FC 4AB0 0000 tst.l [A0 + D0.w]
00001700 6700 0040 beq +0x42 /* 00001742 */
00001704 2070 0000 movea.l A0, [A0 + D0.w]
00001708 A011 syscall GetEOF
0000170A 6600 004E bne +0x50 /* 0000175A */
0000170E 2428 001C move.l D2, [A0 + 0x1C]
00001712 A018 syscall GetFPos
00001714 6600 0044 bne +0x46 /* 0000175A */
00001718 7000 moveq.l D0, 0x00
0000171A B4A8 002E cmp.l D2, [A0 + 0x2E]
0000171E 6602 bne +0x4 /* 00001722 */
00001720 5380 subq.l D0, 1
label00001722:
00001722 4E75 rts
label00001724:
00001724 303C 0001 move.w D0, 0x1
00001728 6042 bra +0x44 /* 0000176C */
label0000172A:
0000172A 303C 0002 move.w D0, 0x2
0000172E 603C bra +0x3E /* 0000176C */
label00001730:
00001730 303C 0003 move.w D0, 0x3
00001734 6036 bra +0x38 /* 0000176C */
label00001736:
00001736 303C 0004 move.w D0, 0x4
0000173A 6030 bra +0x32 /* 0000176C */
label0000173C:
0000173C 303C 0005 move.w D0, 0x5
00001740 602A bra +0x2C /* 0000176C */
label00001742:
00001742 303C 0006 move.w D0, 0x6
00001746 6024 bra +0x26 /* 0000176C */
00001748 303C 0007 move.w D0, 0x7
0000174C 601E bra +0x20 /* 0000176C */
0000174E 303C 0008 move.w D0, 0x8
00001752 6018 bra +0x1A /* 0000176C */
label00001754:
00001754 303C 0009 move.w D0, 0x9 /* '\t' */
00001758 6012 bra +0x14 /* 0000176C */
label0000175A:
0000175A 3B40 F74A move.w [A5 - 0x8B6], D0
label0000175E:
0000175E 303C 000A move.w D0, 0xA /* '\n' */
00001762 6008 bra +0xA /* 0000176C */
label00001764:
00001764 3B40 F74A move.w [A5 - 0x8B6], D0
label00001768:
00001768 303C 000B move.w D0, 0xB
label0000176C:
0000176C 3B40 F74C move.w [A5 - 0x8B4], D0
00001770 4A6D F74C tst.w [A5 - 0x8B4]
00001774 670A beq +0xC /* 00001780 */
00001776 4AAD F778 tst.l [A5 - 0x888]
0000177A 6706 beq +0x8 /* 00001782 */
0000177C 2F2D F778 move.l -[A7], [A5 - 0x888]
label00001780:
00001780 4E75 rts
label00001782:
00001782 7000 moveq.l D0, 0x00
00001784 302D F74E move.w D0, [A5 - 0x8B2]
00001788 E148 lsl D0.w, 8
0000178A 102D F74D move.b D0, [A5 - 0x8B3]
0000178E 426D F74C clr.w [A5 - 0x8B4]
00001792 41ED FB0E lea.l A0, [A5 - 0x4F2]
00001796 4EBA 0044 jsr [PC + 0x44 /* 000017DC */]
0000179A 2F08 move.l -[A7], A0
0000179C 487A 113E pea.l [PC + 0x113E /* 000028DC, value 0x86E, cstring "" */]
000017A0 487A 113A pea.l [PC + 0x113A /* 000028DC, value 0x86E, cstring "" */]
000017A4 487A 1136 pea.l [PC + 0x1136 /* 000028DC, value 0x86E, cstring "" */]
000017A8 A98B syscall ParamText
000017AA 4267 clr.w -[A7]
000017AC 3F3C 0096 move.w -[A7], 0x96
000017B0 42A7 clr.l -[A7]
000017B2 A986 syscall StopAlert
000017B4 301F move.w D0, [A7]+
000017B6 0C40 0002 cmpi.w D0, 0x2
000017BA 6602 bne +0x4 /* 000017BE */
000017BC 4E75 rts
label000017BE:
000017BE 226D F750 movea.l A1, [A5 - 0x8B0]
000017C2 302D F74E move.w D0, [A5 - 0x8B2]
000017C6 E948 lsl D0.w, 4
000017C8 4AB1 0000 tst.l [A1 + D0.w]
000017CC 670A beq +0xC /* 000017D8 */
000017CE 2071 0000 movea.l A0, [A1 + D0.w]
000017D2 42B1 0000 clr.l [A1 + D0.w]
000017D6 A01F syscall DisposPtr/DisposePtr
label000017D8:
000017D8 4EFA EA58 jmp [PC - 0x15A8 /* 00000232 */]
fn000017DC:
000017DC 2448 movea.l A2, A0
000017DE 4218 clr.b [A0]+
000017E0 3F00 move.w -[A7], D0
000017E2 43FA 1132 lea.l A1, [PC + 0x1132 /* 00002916, value 0x24E6F0B, pstring "No" */]
000017E6 0240 00FF andi.w D0, 0xFF
000017EA 6714 beq +0x16 /* 00001800 */
000017EC 0C40 000B cmpi.w D0, 0xB
000017F0 6302 bls +0x4 /* 000017F4 */
000017F2 700A moveq.l D0, 0x0A
label000017F4:
000017F4 5340 subq.w D0, 1
000017F6 7200 moveq.l D1, 0x00
label000017F8:
000017F8 1219 move.b D1, [A1]+
000017FA D3C1 add.l A1, D1
000017FC 51C8 FFFA dbf D0, -0x8 /* 000017F8 */
label00001800:
00001800 6128 bsr +0x2A /* 0000182A */
00001802 43FA 110B lea.l A1, [PC + 0x110B /* 0000290F, value 0x6204572, pstring " Error" */]
00001806 6122 bsr +0x24 /* 0000182A */
00001808 7000 moveq.l D0, 0x00
0000180A 301F move.w D0, [A7]+
0000180C E048 lsr D0.w, 8
0000180E 6700 0016 beq +0x18 /* 00001826 */
00001812 43FA 10F0 lea.l A1, [PC + 0x10F0 /* 00002904, value 0xA20696E '\n in', pstring " in File #" */]
00001816 6112 bsr +0x14 /* 0000182A */
00001818 6120 bsr +0x22 /* 0000183A */
0000181A 7203 moveq.l D1, 0x03
label0000181C:
0000181C E198 rol D0, 8
0000181E 10C0 move.b [A0]+, D0
00001820 51C9 FFFA dbf D1, -0x8 /* 0000181C */
00001824 5812 addq.b [A2], 4
label00001826:
00001826 204A movea.l A0, A2
00001828 4E75 rts
fn0000182A:
0000182A 7200 moveq.l D1, 0x00
0000182C 1219 move.b D1, [A1]+
0000182E 5341 subq.w D1, 1
label00001830:
00001830 10D9 move.b [A0]+, [A1]+
00001832 5212 addq.b [A2], 1
00001834 51C9 FFFA dbf D1, -0x8 /* 00001830 */
00001838 4E75 rts
fn0000183A:
0000183A 2F3C 2020 2020 move.l -[A7], 0x20202020 /* ' ' */
00001840 224F movea.l A1, A7
00001842 4A00 tst.b D0
00001844 6A06 bpl +0x8 /* 0000184C */
00001846 12BC 002D move.b [A1], 0x2D /* '-' */
0000184A 4400 neg.b D0
label0000184C:
0000184C 5289 addq.l A1, 1
0000184E 80FC 0064 divu.w D0, 0x64 /* 'd' */
00001852 6706 beq +0x8 /* 0000185A */
00001854 0000 0030 ori.b D0, 0x30 /* '0' */
00001858 12C0 move.b [A1]+, D0
label0000185A:
0000185A 4240 clr.w D0
0000185C 4840 swap.w D0
0000185E 80FC 000A divu.w D0, 0xA /* '\n' */
00001862 6706 beq +0x8 /* 0000186A */
00001864 0000 0030 ori.b D0, 0x30 /* '0' */
00001868 12C0 move.b [A1]+, D0
label0000186A:
0000186A 4840 swap.w D0
0000186C 0000 0030 ori.b D0, 0x30 /* '0' */
00001870 12C0 move.b [A1]+, D0
00001872 201F move.l D0, [A7]+
00001874 4E75 rts
00001876 322F 000E move.w D1, [A7 + 0xE]
0000187A 3B41 F74E move.w [A5 - 0x8B2], D1
0000187E 6A0C bpl +0xE /* 0000188C */
label00001880:
00001880 2F57 000E move.l [A7 + 0xE], [A7]
00001884 4FEF 000E lea.l A7, [A7 + 0xE]
00001888 4EFA FEB8 jmp [PC - 0x148 /* 00001742 */]
label0000188C:
0000188C 4EBA 0CE4 jsr [PC + 0xCE4 /* 00002572 */]
00001890 640C bcc +0xE /* 0000189E */
00001892 2F57 000E move.l [A7 + 0xE], [A7]
00001896 4FEF 000E lea.l A7, [A7 + 0xE]
0000189A 4EFA FECC jmp [PC - 0x134 /* 00001768 */]
label0000189E:
0000189E E949 lsl D1.w, 4
000018A0 246D F750 movea.l A2, [A5 - 0x8B0]
000018A4 45F2 1000 lea.l A2, [A2 + D1.w]
000018A8 4A92 tst.l [A2]
000018AA 66D4 bne -0x2A /* 00001880 */
000018AC 256F 0006 0004 move.l [A2 + 0x4], [A7 + 0x6]
000018B2 336F 0004 0016 move.w [A1 + 0x16], [A7 + 0x4]
000018B8 236F 000A 0012 move.l [A1 + 0x12], [A7 + 0xA]
000018BE 137C 0001 001B move.b [A1 + 0x1B], 0x1
000018C4 2049 movea.l A0, A1
000018C6 43E9 0100 lea.l A1, [A1 + 0x100]
000018CA 2149 001C move.l [A0 + 0x1C], A1
000018CE 102F 0010 move.b D0, [A7 + 0x10]
000018D2 2F57 000E move.l [A7 + 0xE], [A7]
000018D6 4FEF 000E lea.l A7, [A7 + 0xE]
000018DA 4A00 tst.b D0
000018DC 6614 bne +0x16 /* 000018F2 */
label000018DE:
000018DE A000 syscall Open/PBHOpen/HOpen
000018E0 670C beq +0xE /* 000018EE */
label000018E2:
000018E2 0C40 FFD5 cmpi.w D0, 0xFFD5
000018E6 6700 FE48 beq -0x1B6 /* 00001730 */
000018EA 6000 FE6E bra -0x190 /* 0000175A */
label000018EE:
000018EE 2488 move.l [A2], A0
000018F0 4E75 rts
label000018F2:
000018F2 A00A syscall OpenRF/PBHOpenRF/HOpenRF
000018F4 66EC bne -0x12 /* 000018E2 */
000018F6 2488 move.l [A2], A0
000018F8 4E75 rts
000018FA 322F 000E move.w D1, [A7 + 0xE]
000018FE 3B41 F74E move.w [A5 - 0x8B2], D1
00001902 6A0C bpl +0xE /* 00001910 */
label00001904:
00001904 2F57 000E move.l [A7 + 0xE], [A7]
00001908 4FEF 000E lea.l A7, [A7 + 0xE]
0000190C 4EFA FE34 jmp [PC - 0x1CC /* 00001742 */]
label00001910:
00001910 4EBA 0C60 jsr [PC + 0xC60 /* 00002572 */]
00001914 640C bcc +0xE /* 00001922 */
00001916 2F57 000E move.l [A7 + 0xE], [A7]
0000191A 4FEF 000E lea.l A7, [A7 + 0xE]
0000191E 4EFA FE48 jmp [PC - 0x1B8 /* 00001768 */]
label00001922:
00001922 E949 lsl D1.w, 4
00001924 246D F750 movea.l A2, [A5 - 0x8B0]
00001928 45F2 1000 lea.l A2, [A2 + D1.w]
0000192C 4A92 tst.l [A2]
0000192E 66D4 bne -0x2A /* 00001904 */
00001930 256F 0006 0004 move.l [A2 + 0x4], [A7 + 0x6]
00001936 336F 0004 0016 move.w [A1 + 0x16], [A7 + 0x4]
0000193C 236F 000A 0012 move.l [A1 + 0x12], [A7 + 0xA]
00001942 142F 0010 move.b D2, [A7 + 0x10]
00001946 2F57 000E move.l [A7 + 0xE], [A7]
0000194A 4FEF 000E lea.l A7, [A7 + 0xE]
0000194E 2049 movea.l A0, A1
00001950 A008 syscall Create/PBHCreate/HCreate
00001952 6716 beq +0x18 /* 0000196A */
00001954 0C40 FFD0 cmpi.w D0, 0xFFD0
00001958 6600 FE00 bne -0x1FE /* 0000175A */
0000195C 610C bsr +0xE /* 0000196A */
0000195E 42A8 001C clr.l [A0 + 0x1C]
00001962 A012 syscall SetEOF
00001964 6600 FDF4 bne -0x20A /* 0000175A */
00001968 4E75 rts
fn0000196A:
0000196A 4EBA 001A jsr [PC + 0x1A /* 00001986 */]
0000196E 43E8 0100 lea.l A1, [A0 + 0x100]
00001972 2149 001C move.l [A0 + 0x1C], A1
00001976 117C 0002 001B move.b [A0 + 0x1B], 0x2
0000197C 4A02 tst.b D2
0000197E 6700 FF5E beq -0xA0 /* 000018DE */
00001982 6000 FF6E bra -0x90 /* 000018F2 */
fn00001986:
00001986 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
0000198A 4268 001C clr.w [A0 + 0x1C]
0000198E A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00001990 670A beq +0xC /* 0000199C */
00001992 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
00001996 588F addq.l A7, 4
00001998 6000 FDC4 bra -0x23A /* 0000175E */
label0000199C:
0000199C 226D FD36 movea.l A1, [A5 - 0x2CA]
000019A0 1019 move.b D0, [A1]+
000019A2 45E8 0020 lea.l A2, [A0 + 0x20]
000019A6 0C00 0008 cmpi.b D0, 0x8
000019AA 6302 bls +0x4 /* 000019AE */
000019AC 7008 moveq.l D0, 0x08
label000019AE:
000019AE 0240 000C andi.w D0, 0xC
000019B2 670A beq +0xC /* 000019BE */
000019B4 5340 subq.w D0, 1
label000019B6:
000019B6 14D9 move.b [A2]+, [A1]+
000019B8 51C8 FFFC dbf D0, -0x6 /* 000019B6 */
000019BC A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000019BE:
000019BE 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
000019C2 4E75 rts
fn000019C4:
000019C4 322F 000E move.w D1, [A7 + 0xE]
000019C8 3B41 F74E move.w [A5 - 0x8B2], D1
000019CC 6A0C bpl +0xE /* 000019DA */
label000019CE:
000019CE 2F57 000E move.l [A7 + 0xE], [A7]
000019D2 4FEF 000E lea.l A7, [A7 + 0xE]
000019D6 4EFA FD6A jmp [PC - 0x296 /* 00001742 */]
label000019DA:
000019DA 4EBA 0B96 jsr [PC + 0xB96 /* 00002572 */]
000019DE 640C bcc +0xE /* 000019EC */
000019E0 2F57 000E move.l [A7 + 0xE], [A7]
000019E4 4FEF 000E lea.l A7, [A7 + 0xE]
000019E8 4EFA FD7E jmp [PC - 0x282 /* 00001768 */]
label000019EC:
000019EC E949 lsl D1.w, 4
000019EE 246D F750 movea.l A2, [A5 - 0x8B0]
000019F2 45F2 1000 lea.l A2, [A2 + D1.w]
000019F6 4A92 tst.l [A2]
000019F8 66D4 bne -0x2A /* 000019CE */
000019FA 256F 0006 0004 move.l [A2 + 0x4], [A7 + 0x6]
00001A00 336F 0004 0016 move.w [A1 + 0x16], [A7 + 0x4]
00001A06 236F 000A 0012 move.l [A1 + 0x12], [A7 + 0xA]
00001A0C 142F 0010 move.b D2, [A7 + 0x10]
00001A10 2F57 000E move.l [A7 + 0xE], [A7]
00001A14 4FEF 000E lea.l A7, [A7 + 0xE]
00001A18 2049 movea.l A0, A1
00001A1A 4A02 tst.b D2
00001A1C 663C bne +0x3E /* 00001A5A */
00001A1E 117C 0003 001B move.b [A0 + 0x1B], 0x3
00001A24 43E8 0100 lea.l A1, [A0 + 0x100]
00001A28 2149 001C move.l [A0 + 0x1C], A1
00001A2C A000 syscall Open/PBHOpen/HOpen
00001A2E 6726 beq +0x28 /* 00001A56 */
00001A30 0C40 FFD5 cmpi.w D0, 0xFFD5
00001A34 6600 FD24 bne -0x2DA /* 0000175A */
00001A38 A008 syscall Create/PBHCreate/HCreate
00001A3A 6600 FD1E bne -0x2E0 /* 0000175A */
00001A3E 6100 FF46 bsr -0xB8 /* 00001986 */
00001A42 117C 0003 001B move.b [A0 + 0x1B], 0x3
00001A48 43E8 0100 lea.l A1, [A0 + 0x100]
00001A4C 2149 001C move.l [A0 + 0x1C], A1
00001A50 A000 syscall Open/PBHOpen/HOpen
00001A52 6600 FD06 bne -0x2F8 /* 0000175A */
label00001A56:
00001A56 2488 move.l [A2], A0
00001A58 4E75 rts
label00001A5A:
00001A5A 117C 0003 001B move.b [A0 + 0x1B], 0x3
00001A60 A00A syscall OpenRF/PBHOpenRF/HOpenRF
00001A62 6726 beq +0x28 /* 00001A8A */
00001A64 0C40 FFD5 cmpi.w D0, 0xFFD5
00001A68 6600 FCF0 bne -0x30E /* 0000175A */
00001A6C A008 syscall Create/PBHCreate/HCreate
00001A6E 6600 FCEA bne -0x314 /* 0000175A */
00001A72 6100 FF12 bsr -0xEC /* 00001986 */
00001A76 117C 0003 001B move.b [A0 + 0x1B], 0x3
00001A7C 43E8 0100 lea.l A1, [A0 + 0x100]
00001A80 2149 001C move.l [A0 + 0x1C], A1
00001A84 A000 syscall Open/PBHOpen/HOpen
00001A86 6600 FCD2 bne -0x32C /* 0000175A */
label00001A8A:
00001A8A 2488 move.l [A2], A0
00001A8C 4E75 rts
label00001A8E:
00001A8E 2EBC 0060 0058 move.l [A7], 0x600058 /* '`\0X' */
00001A94 2F2F 0010 move.l -[A7], [A7 + 0x10]
00001A98 6606 bne +0x8 /* 00001AA0 */
00001A9A 41FA 0E40 lea.l A0, [PC + 0xE40 /* 000028DC, value 0x86E, cstring "" */]
00001A9E 2E88 move.l [A7], A0
label00001AA0:
00001AA0 2F2F 0010 move.l -[A7], [A7 + 0x10]
00001AA4 6606 bne +0x8 /* 00001AAC */
00001AA6 41FA 0E34 lea.l A0, [PC + 0xE34 /* 000028DC, value 0x86E, cstring "" */]
00001AAA 2E88 move.l [A7], A0
label00001AAC:
00001AAC 42A7 clr.l -[A7]
00001AAE 486D F8A4 pea.l [A5 - 0x75C]
00001AB2 3F3C 0001 move.w -[A7], 0x1
00001AB6 604C bra +0x4E /* 00001B04 */
00001AB8 2F3C 0060 0040 move.l -[A7], 0x600040 /* '`\0@' */
00001ABE 4A6F 0014 tst.w [A7 + 0x14]
00001AC2 67CA beq -0x34 /* 00001A8E */
00001AC4 42A7 clr.l -[A7]
00001AC6 42A7 clr.l -[A7]
00001AC8 202F 0018 move.l D0, [A7 + 0x18]
00001ACC 2040 movea.l A0, D0
00001ACE 6604 bne +0x6 /* 00001AD4 */
00001AD0 41FA 0E0A lea.l A0, [PC + 0xE0A /* 000028DC, value 0x86E, cstring "" */]
label00001AD4:
00001AD4 7000 moveq.l D0, 0x00
00001AD6 1018 move.b D0, [A0]+
00001AD8 E448 lsr D0.w, 2
00001ADA 6608 bne +0xA /* 00001AE4 */
00001ADC 3F3C FFFF move.w -[A7], 0xFFFF
00001AE0 42A7 clr.l -[A7]
00001AE2 6016 bra +0x18 /* 00001AFA */
label00001AE4:
00001AE4 43ED FDC4 lea.l A1, [A5 - 0x23C]
00001AE8 3F00 move.w -[A7], D0
00001AEA 2F09 move.l -[A7], A1
00001AEC 5340 subq.w D0, 1
label00001AEE:
00001AEE 12D8 move.b [A1]+, [A0]+
00001AF0 12D8 move.b [A1]+, [A0]+
00001AF2 12D8 move.b [A1]+, [A0]+
00001AF4 12D8 move.b [A1]+, [A0]+
00001AF6 51C8 FFF6 dbf D0, -0xC /* 00001AEE */
label00001AFA:
00001AFA 42A7 clr.l -[A7]
00001AFC 486D F8A4 pea.l [A5 - 0x75C]
00001B00 3F3C 0002 move.w -[A7], 0x2
label00001B04:
00001B04 A9EA syscall Pack3
00001B06 4A2D F8A4 tst.b [A5 - 0x75C]
00001B0A 671A beq +0x1C /* 00001B26 */
00001B0C 202F 0004 move.l D0, [A7 + 0x4]
00001B10 6706 beq +0x8 /* 00001B18 */
00001B12 2040 movea.l A0, D0
00001B14 30AD F8AA move.w [A0], [A5 - 0x756]
label00001B18:
00001B18 41ED F8AE lea.l A0, [A5 - 0x752]
label00001B1C:
00001B1C 2F57 000E move.l [A7 + 0xE], [A7]
00001B20 4FEF 000E lea.l A7, [A7 + 0xE]
00001B24 4E75 rts
label00001B26:
00001B26 202F 0004 move.l D0, [A7 + 0x4]
00001B2A 6704 beq +0x6 /* 00001B30 */
00001B2C 2040 movea.l A0, D0
00001B2E 4250 clr.w [A0]
label00001B30:
00001B30 41FA 0DAA lea.l A0, [PC + 0xDAA /* 000028DC, value 0x86E, cstring "" */]
00001B34 60E6 bra -0x18 /* 00001B1C */
export_54:
00001B36 3B41 F74E move.w [A5 - 0x8B2], D1
00001B3A 6A00 FC06 bpl -0x3F8 /* 00001742 */
00001B3E 4A6D F6CA tst.w [A5 - 0x936]
00001B42 6600 FBFE bne -0x400 /* 00001742 */
00001B46 3F00 move.w -[A7], D0
00001B48 4441 neg.w D1
00001B4A E949 lsl D1.w, 4
00001B4C 4441 neg.w D1
00001B4E 266D F750 movea.l A3, [A5 - 0x8B0]
00001B52 47F3 1000 lea.l A3, [A3 + D1.w]
00001B56 4A93 tst.l [A3]
00001B58 6706 beq +0x8 /* 00001B60 */
00001B5A 548F addq.l A7, 2
00001B5C 6000 FBE4 bra -0x41A /* 00001742 */
label00001B60:
00001B60 7E08 moveq.l D7, 0x08
00001B62 43FA 0D7A lea.l A1, [PC + 0xD7A /* 000028DE, value 0x86E6F52, pstring "noReader" */]
00001B66 2F08 move.l -[A7], A0
label00001B68:
00001B68 B308 cmpm.b [A1]+, [A0]+
00001B6A 56CF FFFC dbne D7, -0x6 /* 00001B68 */
00001B6E 57ED F759 seq [A5 - 0x8A7]
00001B72 205F movea.l A0, [A7]+
00001B74 558F subq.l A7, 2
00001B76 2F08 move.l -[A7], A0
00001B78 2F0B move.l -[A7], A3
00001B7A 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00001B7E 4A5F tst.w [A7]+
00001B80 6A06 bpl +0x8 /* 00001B88 */
00001B82 548F addq.l A7, 2
00001B84 6000 FBDE bra -0x420 /* 00001764 */
label00001B88:
00001B88 7000 moveq.l D0, 0x00
00001B8A 301F move.w D0, [A7]+
00001B8C 3B40 F75E move.w [A5 - 0x8A2], D0
00001B90 576D F75E subq.w [A5 - 0x8A2], 3
00001B94 4A2D F759 tst.b [A5 - 0x8A7]
00001B98 6708 beq +0xA /* 00001BA2 */
00001B9A A122 syscall NewHandle, flags=1
00001B9C 6600 FBC6 bne -0x438 /* 00001764 */
00001BA0 6006 bra +0x8 /* 00001BA8 */
label00001BA2:
00001BA2 A11E syscall NewPtr, flags=1
00001BA4 6600 FBBE bne -0x440 /* 00001764 */
label00001BA8:
00001BA8 2748 0008 move.l [A3 + 0x8], A0
00001BAC 177C 0002 000C move.b [A3 + 0xC], 0x2
00001BB2 3B6D F74E F6CA move.w [A5 - 0x936], [A5 - 0x8B2]
00001BB8 4E75 rts
00001BBA 3B41 F74E move.w [A5 - 0x8B2], D1
00001BBE 6A00 FB82 bpl -0x47C /* 00001742 */
00001BC2 3B41 F7FE move.w [A5 - 0x802], D1
00001BC6 4441 neg.w D1
00001BC8 E949 lsl D1.w, 4
00001BCA 4441 neg.w D1
00001BCC 226D F750 movea.l A1, [A5 - 0x8B0]
00001BD0 43F1 1000 lea.l A1, [A1 + D1.w]
00001BD4 4A91 tst.l [A1]
00001BD6 6600 FB6A bne -0x494 /* 00001742 */
00001BDA 50D1 st [A1]
00001BDC 137C 0004 000C move.b [A1 + 0xC], 0x4
00001BE2 426D F804 clr.w [A5 - 0x7FC]
00001BE6 4EFA 3352 jmp [PC + 0x3352 /* 00004F3A */]
00001BEA 4EBA 0986 jsr [PC + 0x986 /* 00002572 */]
00001BEE 6500 FB78 bcs -0x486 /* 00001768 */
00001BF2 2049 movea.l A0, A1
00001BF4 1038 0291 move.b D0, [0x00000291 /* PortBUse */]
00001BF8 6A1E bpl +0x20 /* 00001C18 */
00001BFA 1038 01FB move.b D0, [0x000001FB /* SPConfig */]
00001BFE 0200 000F andi.b D0, 0xF
00001C02 6706 beq +0x8 /* 00001C0A */
00001C04 0C00 0001 cmpi.b D0, 0x1
00001C08 6632 bne +0x34 /* 00001C3C */
label00001C0A:
00001C0A 487A 0CF2 pea.l [PC + 0xCF2 /* 000028FE, value 0x42E4D50, pstring ".MPP" */]
00001C0E 215F 0012 move.l [A0 + 0x12], [A7]+
00001C12 A000 syscall Open/PBHOpen/HOpen
00001C14 6626 bne +0x28 /* 00001C3C */
00001C16 600A bra +0xC /* 00001C22 */
label00001C18:
00001C18 0200 000F andi.b D0, 0xF
00001C1C 0C00 0001 cmpi.b D0, 0x1
00001C20 661A bne +0x1C /* 00001C3C */
label00001C22:
00001C22 0838 0004 0291 btst.b [0x00000291 /* PortBUse */], 0x4
00001C28 660C bne +0xE /* 00001C36 */
00001C2A 487A 0CCC pea.l [PC + 0xCCC /* 000028F8, value 0x42E4154, pstring ".ATP" */]
00001C2E 215F 0012 move.l [A0 + 0x12], [A7]+
00001C32 A000 syscall Open/PBHOpen/HOpen
00001C34 6606 bne +0x8 /* 00001C3C */
label00001C36:
00001C36 2049 movea.l A0, A1
00001C38 A01F syscall DisposPtr/DisposePtr
00001C3A 4E75 rts
label00001C3C:
00001C3C 3B40 F74A move.w [A5 - 0x8B6], D0
00001C40 A01F syscall DisposPtr/DisposePtr
00001C42 6000 FB24 bra -0x4DA /* 00001768 */
00001C46 302F 001A move.w D0, [A7 + 0x1A]
00001C4A 3B40 F74E move.w [A5 - 0x8B2], D0
00001C4E 6A00 FAF2 bpl -0x50C /* 00001742 */
00001C52 4440 neg.w D0
00001C54 2400 move.l D2, D0
00001C56 E948 lsl D0.w, 4
00001C58 4440 neg.w D0
00001C5A 266D F750 movea.l A3, [A5 - 0x8B0]
00001C5E 47F3 0000 lea.l A3, [A3 + D0.w]
00001C62 4A93 tst.l [A3]
00001C64 670C beq +0xE /* 00001C72 */
00001C66 2F57 0018 move.l [A7 + 0x18], [A7]
00001C6A 4FEF 0018 lea.l A7, [A7 + 0x18]
00001C6E 6000 FAD2 bra -0x52C /* 00001742 */
label00001C72:
00001C72 203C 0000 0180 move.l D0, 0x180
00001C78 A31E syscall NewPtrClear, flags=3
00001C7A 670C beq +0xE /* 00001C88 */
00001C7C 2F57 0018 move.l [A7 + 0x18], [A7]
00001C80 4FEF 0018 lea.l A7, [A7 + 0x18]
00001C84 6000 FAD4 bra -0x52A /* 0000175A */
label00001C88:
00001C88 2248 movea.l A1, A0
00001C8A 45E9 0089 lea.l A2, [A1 + 0x89]
00001C8E 7208 moveq.l D1, 0x08
label00001C90:
00001C90 2077 100E movea.l A0, [A7 + D1.w + 0xE]
00001C94 7000 moveq.l D0, 0x00
00001C96 1010 move.b D0, [A0]
00001C98 0C00 001F cmpi.b D0, 0x1F
00001C9C 650C bcs +0xE /* 00001CAA */
00001C9E 2F57 0018 move.l [A7 + 0x18], [A7]
00001CA2 4FEF 0018 lea.l A7, [A7 + 0x18]
00001CA6 6000 FA94 bra -0x56A /* 0000173C */
label00001CAA:
00001CAA 14D8 move.b [A2]+, [A0]+
00001CAC 51C8 FFFC dbf D0, -0x6 /* 00001CAA */
00001CB0 5941 subq.w D1, 4
00001CB2 6ADC bpl -0x22 /* 00001C90 */
00001CB4 2049 movea.l A0, A1
00001CB6 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
00001CBC 317C 00F9 001A move.w [A0 + 0x1A], 0xF9
00001CC2 A004 syscall Control
00001CC4 670C beq +0xE /* 00001CD2 */
00001CC6 2F57 0018 move.l [A7 + 0x18], [A7]
00001CCA 4FEF 0018 lea.l A7, [A7 + 0x18]
00001CCE 6000 FA8A bra -0x574 /* 0000175A */
label00001CD2:
00001CD2 317C 00FD 001A move.w [A0 + 0x1A], 0xFD
00001CD8 4868 0080 pea.l [A0 + 0x80]
00001CDC 215F 001E move.l [A0 + 0x1E], [A7]+
00001CE0 50E8 0022 st [A0 + 0x22]
00001CE4 1142 0087 move.b [A0 + 0x87], D2
00001CE8 116F 000A 001C move.b [A0 + 0x1C], [A7 + 0xA]
00001CEE 6604 bne +0x6 /* 00001CF4 */
00001CF0 5228 001C addq.b [A0 + 0x1C], 1
label00001CF4:
00001CF4 116F 000C 001D move.b [A0 + 0x1D], [A7 + 0xC]
00001CFA 6604 bne +0x6 /* 00001D00 */
00001CFC 5228 001D addq.b [A0 + 0x1D], 1
label00001D00:
00001D00 A004 syscall Control
00001D02 6710 beq +0x12 /* 00001D14 */
00001D04 3B40 F74A move.w [A5 - 0x8B6], D0
00001D08 2F57 0018 move.l [A7 + 0x18], [A7]
00001D0C 4FEF 0018 lea.l A7, [A7 + 0x18]
00001D10 6000 FA2A bra -0x5D4 /* 0000173C */
label00001D14:
00001D14 317C FFF5 0018 move.w [A0 + 0x18], 0xFFF5
00001D1A 316F 0008 001E move.w [A0 + 0x1E], [A7 + 0x8]
00001D20 116F 0006 0020 move.b [A0 + 0x20], [A7 + 0x6]
00001D26 116F 0004 0021 move.b [A0 + 0x21], [A7 + 0x4]
00001D2C 317C 00FE 001A move.w [A0 + 0x1A], 0xFE
00001D32 1142 001C move.b [A0 + 0x1C], D2
00001D36 A004 syscall Control
00001D38 670C beq +0xE /* 00001D46 */
00001D3A 2F57 0018 move.l [A7 + 0x18], [A7]
00001D3E 4FEF 0018 lea.l A7, [A7 + 0x18]
00001D42 6000 FA20 bra -0x5DE /* 00001764 */
label00001D46:
00001D46 2689 move.l [A3], A1
00001D48 177C 0003 000C move.b [A3 + 0xC], 0x3
00001D4E 2F57 0018 move.l [A7 + 0x18], [A7]
00001D52 4FEF 0018 lea.l A7, [A7 + 0x18]
00001D56 4E75 rts
00001D58 302F 0030 move.w D0, [A7 + 0x30]
00001D5C 3B40 F74E move.w [A5 - 0x8B2], D0
00001D60 6B0C bmi +0xE /* 00001D6E */
label00001D62:
00001D62 2F57 002E move.l [A7 + 0x2E], [A7]
00001D66 4FEF 002E lea.l A7, [A7 + 0x2E]
00001D6A 6000 F9D6 bra -0x628 /* 00001742 */
label00001D6E:
00001D6E 4440 neg.w D0
00001D70 3200 move.w D1, D0
00001D72 E948 lsl D0.w, 4
00001D74 4440 neg.w D0
00001D76 246D F750 movea.l A2, [A5 - 0x8B0]
00001D7A 45F2 0000 lea.l A2, [A2 + D0.w]
00001D7E 4A92 tst.l [A2]
00001D80 660C bne +0xE /* 00001D8E */
00001D82 2F57 002E move.l [A7 + 0x2E], [A7]
00001D86 4FEF 002E lea.l A7, [A7 + 0x2E]
00001D8A 6000 F9AA bra -0x654 /* 00001736 */
label00001D8E:
00001D8E 0C2A 0003 000C cmpi.b [A2 + 0xC], 0x3
00001D94 66CC bne -0x32 /* 00001D62 */
00001D96 2452 movea.l A2, [A2]
00001D98 226F 0024 movea.l A1, [A7 + 0x24]
00001D9C 3551 0022 move.w [A2 + 0x22], [A1]
00001DA0 256F 0020 0024 move.l [A2 + 0x24], [A7 + 0x20]
00001DA6 487A 0046 pea.l [PC + 0x46 /* 00001DEE, value 0x30280010, cstring "0(" */]
00001DAA 255F 000C move.l [A2 + 0xC], [A7]+
00001DAE 357C 00FD 001A move.w [A2 + 0x1A], 0xFD
00001DB4 1541 001C move.b [A2 + 0x1C], D1
00001DB8 C14A exg A0, A2
00001DBA 226F 002C movea.l A1, [A7 + 0x2C]
00001DBE 4A51 tst.w [A1]
00001DC0 671C beq +0x1E /* 00001DDE */
00001DC2 4251 clr.w [A1]
00001DC4 225F movea.l A1, [A7]+
00001DC6 45E8 003C lea.l A2, [A0 + 0x3C]
00001DCA 7016 moveq.l D0, 0x16
label00001DCC:
00001DCC 34DF move.w [A2]+, [A7]+
00001DCE 51C8 FFFC dbf D0, -0x6 /* 00001DCC */
00001DD2 A404 syscall Control, flags=4
00001DD4 6706 beq +0x8 /* 00001DDC */
00001DD6 2F09 move.l -[A7], A1
00001DD8 6000 F98A bra -0x674 /* 00001764 */
label00001DDC:
00001DDC 4ED1 jmp [A1]
label00001DDE:
00001DDE A004 syscall Control
00001DE0 673C beq +0x3E /* 00001E1E */
00001DE2 2F57 002E move.l [A7 + 0x2E], [A7]
00001DE6 4FEF 002E lea.l A7, [A7 + 0x2E]
00001DEA 6000 F978 bra -0x686 /* 00001764 */
00001DEE 3028 0010 move.w D0, [A0 + 0x10]
00001DF2 670A beq +0xC /* 00001DFE */
00001DF4 3B68 0068 F74E move.w [A5 - 0x8B2], [A0 + 0x68]
00001DFA 6000 F968 bra -0x696 /* 00001764 */
label00001DFE:
00001DFE 4AA8 0060 tst.l [A0 + 0x60]
00001E02 6604 bne +0x6 /* 00001E08 */
00001E04 215F 0060 move.l [A0 + 0x60], [A7]+
label00001E08:
00001E08 43E8 006A lea.l A1, [A0 + 0x6A]
00001E0C 7016 moveq.l D0, 0x16
label00001E0E:
00001E0E 3F21 move.w -[A7], -[A1]
00001E10 51C8 FFFC dbf D0, -0x6 /* 00001E0E */
00001E14 2F2F 0024 move.l -[A7], [A7 + 0x24]
00001E18 226F 002C movea.l A1, [A7 + 0x2C]
00001E1C 3280 move.w [A1], D0
label00001E1E:
00001E1E 226F 0018 movea.l A1, [A7 + 0x18]
00001E22 22A8 0012 move.l [A1], [A0 + 0x12]
00001E26 226F 0014 movea.l A1, [A7 + 0x14]
00001E2A 32A8 001E move.w [A1], [A0 + 0x1E]
00001E2E 226F 0010 movea.l A1, [A7 + 0x10]
00001E32 4251 clr.w [A1]
00001E34 1368 0020 0001 move.b [A1 + 0x1], [A0 + 0x20]
00001E3A 226F 000C movea.l A1, [A7 + 0xC]
00001E3E 4251 clr.w [A1]
00001E40 1368 0021 0001 move.b [A1 + 0x1], [A0 + 0x21]
00001E46 226F 0024 movea.l A1, [A7 + 0x24]
00001E4A 32A8 0022 move.w [A1], [A0 + 0x22]
00001E4E 226F 001C movea.l A1, [A7 + 0x1C]
00001E52 4251 clr.w [A1]
00001E54 1368 001D 0001 move.b [A1 + 0x1], [A0 + 0x1D]
00001E5A 226F 0008 movea.l A1, [A7 + 0x8]
00001E5E 4251 clr.w [A1]
00001E60 1368 002C 0001 move.b [A1 + 0x1], [A0 + 0x2C]
00001E66 226F 0004 movea.l A1, [A7 + 0x4]
00001E6A 32A8 002E move.w [A1], [A0 + 0x2E]
00001E6E 2057 movea.l A0, [A7]
00001E70 4FEF 0032 lea.l A7, [A7 + 0x32]
00001E74 4ED0 jmp [A0]
00001E76 203C 0000 0100 move.l D0, 0x100
00001E7C A31E syscall NewPtrClear, flags=3
00001E7E 670C beq +0xE /* 00001E8C */
00001E80 2F57 003C move.l [A7 + 0x3C], [A7]
00001E84 4FEF 003C lea.l A7, [A7 + 0x3C]
00001E88 6000 F8DE bra -0x720 /* 00001768 */
label00001E8C:
00001E8C 317C FFF5 0018 move.w [A0 + 0x18], 0xFFF5
00001E92 317C 00FF 001A move.w [A0 + 0x1A], 0xFF
00001E98 216F 001A 0012 move.l [A0 + 0x12], [A7 + 0x1A]
00001E9E 226F 0010 movea.l A1, [A7 + 0x10]
00001EA2 1169 0001 001D move.b [A0 + 0x1D], [A1 + 0x1]
00001EA8 316F 0018 001E move.w [A0 + 0x1E], [A7 + 0x18]
00001EAE 116F 0017 0020 move.b [A0 + 0x20], [A7 + 0x17]
00001EB4 116F 0015 0021 move.b [A0 + 0x21], [A7 + 0x15]
00001EBA 316F 0036 0022 move.w [A0 + 0x22], [A7 + 0x36]
00001EC0 216F 0032 0024 move.l [A0 + 0x24], [A7 + 0x32]
00001EC6 226F 002E movea.l A1, [A7 + 0x2E]
00001ECA 3011 move.w D0, [A1]
00001ECC 43E8 0080 lea.l A1, [A0 + 0x80]
00001ED0 2149 0028 move.l [A0 + 0x28], A1
00001ED4 1140 002C move.b [A0 + 0x2C], D0
00001ED8 6722 beq +0x24 /* 00001EFC */
00001EDA 0C40 0008 cmpi.w D0, 0x8
00001EDE 6306 bls +0x8 /* 00001EE6 */
00001EE0 7008 moveq.l D0, 0x08
00001EE2 1140 002C move.b [A0 + 0x2C], D0
label00001EE6:
00001EE6 5340 subq.w D0, 1
00001EE8 246F 002A movea.l A2, [A7 + 0x2A]
00001EEC 266F 0026 movea.l A3, [A7 + 0x26]
label00001EF0:
00001EF0 32DA move.w [A1]+, [A2]+
00001EF2 22DB move.l [A1]+, [A3]+
00001EF4 4259 clr.w [A1]+
00001EF6 4299 clr.l [A1]+
00001EF8 51C8 FFF6 dbf D0, -0xC /* 00001EF0 */
label00001EFC:
00001EFC 116F 0005 002D move.b [A0 + 0x2D], [A7 + 0x5]
00001F02 6604 bne +0x6 /* 00001F08 */
00001F04 5228 002D addq.b [A0 + 0x2D], 1
label00001F08:
00001F08 116F 0007 002F move.b [A0 + 0x2F], [A7 + 0x7]
00001F0E 6604 bne +0x6 /* 00001F14 */
00001F10 5228 002F addq.b [A0 + 0x2F], 1
label00001F14:
00001F14 487A 00A0 pea.l [PC + 0xA0 /* 00001FB6, value 0x30280010, cstring "0(" */]
00001F18 215F 000C move.l [A0 + 0xC], [A7]+
00001F1C 226F 003C movea.l A1, [A7 + 0x3C]
00001F20 4A51 tst.w [A1]
00001F22 671E beq +0x20 /* 00001F42 */
00001F24 4251 clr.w [A1]
00001F26 43E8 003C lea.l A1, [A0 + 0x3C]
00001F2A 245F movea.l A2, [A7]+
00001F2C 303C 000E move.w D0, 0xE
label00001F30:
00001F30 22DF move.l [A1]+, [A7]+
00001F32 51C8 FFFC dbf D0, -0x6 /* 00001F30 */
00001F36 A404 syscall Control, flags=4
00001F38 6706 beq +0x8 /* 00001F40 */
00001F3A 2F0A move.l -[A7], A2
00001F3C 6000 F82A bra -0x7D4 /* 00001768 */
label00001F40:
00001F40 4ED2 jmp [A2]
label00001F42:
00001F42 A004 syscall Control
00001F44 670C beq +0xE /* 00001F52 */
00001F46 2F57 003C move.l [A7 + 0x3C], [A7]
00001F4A 4FEF 003C lea.l A7, [A7 + 0x3C]
00001F4E 6000 F818 bra -0x7E6 /* 00001768 */
label00001F52:
00001F52 226F 002E movea.l A1, [A7 + 0x2E]
00001F56 4251 clr.w [A1]
00001F58 1368 002E 0001 move.b [A1 + 0x1], [A0 + 0x2E]
00001F5E 226F 0008 movea.l A1, [A7 + 0x8]
00001F62 32A8 002E move.w [A1], [A0 + 0x2E]
00001F66 226F 0010 movea.l A1, [A7 + 0x10]
00001F6A 4251 clr.w [A1]
00001F6C 1368 001D 0001 move.b [A1 + 0x1], [A0 + 0x1D]
00001F72 2268 000C movea.l A1, [A0 + 0xC]
00001F76 4251 clr.w [A1]
00001F78 1228 001C move.b D1, [A0 + 0x1C]
00001F7C 1341 0001 move.b [A1 + 0x1], D1
00001F80 45E8 0080 lea.l A2, [A0 + 0x80]
00001F84 E209 lsr D1.b, 1
00001F86 6426 bcc +0x28 /* 00001FAE */
00001F88 226F 0022 movea.l A1, [A7 + 0x22]
00001F8C 32A8 0006 move.w [A1], [A0 + 0x6]
00001F90 226F 001E movea.l A1, [A7 + 0x1E]
00001F94 22A8 0008 move.l [A1], [A0 + 0x8]
label00001F98:
00001F98 54AF 0022 addq.l [A7 + 0x22], 2
00001F9C 58AF 001E addq.l [A7 + 0x1E], 4
00001FA0 4A01 tst.b D1
00001FA2 66F4 bne -0xA /* 00001F98 */
00001FA4 A01F syscall DisposPtr/DisposePtr
00001FA6 205F movea.l A0, [A7]+
00001FA8 4FEF 003C lea.l A7, [A7 + 0x3C]
00001FAC 4ED0 jmp [A0]
label00001FAE:
00001FAE 326F 0022 movea.w A1, [A7 + 0x22]
00001FB2 4251 clr.w [A1]
00001FB4 60E2 bra -0x1C /* 00001F98 */
00001FB6 3028 0010 move.w D0, [A0 + 0x10]
00001FBA 6600 F7AC bne -0x852 /* 00001768 */
00001FBE 43E8 0078 lea.l A1, [A0 + 0x78]
00001FC2 4AA9 FFF8 tst.l [A1 - 0x8]
00001FC6 6604 bne +0x6 /* 00001FCC */
00001FC8 235F FFF8 move.l [A1 - 0x8], [A7]+
label00001FCC:
00001FCC 700E moveq.l D0, 0x0E
label00001FCE:
00001FCE 2F21 move.l -[A7], -[A1]
00001FD0 51C8 FFFC dbf D0, -0x6 /* 00001FCE */
00001FD4 2F2F 0034 move.l -[A7], [A7 + 0x34]
00001FD8 226F 003C movea.l A1, [A7 + 0x3C]
00001FDC 3280 move.w [A1], D0
00001FDE 6000 FF72 bra -0x8C /* 00001F52 */
00001FE2 302F 0028 move.w D0, [A7 + 0x28]
00001FE6 3B40 F74E move.w [A5 - 0x8B2], D0
00001FEA 6B0C bmi +0xE /* 00001FF8 */
label00001FEC:
00001FEC 2F57 0026 move.l [A7 + 0x26], [A7]
00001FF0 4FEF 0026 lea.l A7, [A7 + 0x26]
00001FF4 6000 F74C bra -0x8B2 /* 00001742 */
label00001FF8:
00001FF8 4440 neg.w D0
00001FFA 3200 move.w D1, D0
00001FFC E948 lsl D0.w, 4
00001FFE 4440 neg.w D0
00002000 206D F750 movea.l A0, [A5 - 0x8B0]
00002004 41F0 0000 lea.l A0, [A0 + D0.w]
00002008 4A90 tst.l [A0]
0000200A 660C bne +0xE /* 00002018 */
0000200C 2F57 0026 move.l [A7 + 0x26], [A7]
00002010 4FEF 0026 lea.l A7, [A7 + 0x26]
00002014 6000 F720 bra -0x8DE /* 00001736 */
label00002018:
00002018 0C28 0003 000C cmpi.b [A0 + 0xC], 0x3
0000201E 66CC bne -0x32 /* 00001FEC */
00002020 2050 movea.l A0, [A0]
00002022 317C 00FC 001A move.w [A0 + 0x1A], 0xFC
00002028 487A 00B0 pea.l [PC + 0xB0 /* 000020DA, value 0x30280010, cstring "0(" */]
0000202C 215F 000C move.l [A0 + 0xC], [A7]+
00002030 116F 001F 001D move.b [A0 + 0x1D], [A7 + 0x1F]
00002036 316F 001C 001E move.w [A0 + 0x1E], [A7 + 0x1C]
0000203C 316F 0018 0020 move.w [A0 + 0x20], [A7 + 0x18]
00002042 116F 001B 0020 move.b [A0 + 0x20], [A7 + 0x1B]
00002048 43E8 0100 lea.l A1, [A0 + 0x100]
0000204C 2149 0028 move.l [A0 + 0x28], A1
00002050 302F 0016 move.w D0, [A7 + 0x16]
00002054 672A beq +0x2C /* 00002080 */
00002056 0C40 0008 cmpi.w D0, 0x8
0000205A 6302 bls +0x4 /* 0000205E */
0000205C 7008 moveq.l D0, 0x08
label0000205E:
0000205E 1140 002C move.b [A0 + 0x2C], D0
00002062 5340 subq.w D0, 1
00002064 2F08 move.l -[A7], A0
00002066 246F 0016 movea.l A2, [A7 + 0x16]
0000206A 266F 0012 movea.l A3, [A7 + 0x12]
0000206E 206F 000E movea.l A0, [A7 + 0xE]
label00002072:
00002072 32DA move.w [A1]+, [A2]+
00002074 22DB move.l [A1]+, [A3]+
00002076 4259 clr.w [A1]+
00002078 22D8 move.l [A1]+, [A0]+
0000207A 51C8 FFF6 dbf D0, -0xC /* 00002072 */
0000207E 205F movea.l A0, [A7]+
label00002080:
00002080 316F 0008 002E move.w [A0 + 0x2E], [A7 + 0x8]
00002086 1141 001C move.b [A0 + 0x1C], D1
0000208A 226F 0024 movea.l A1, [A7 + 0x24]
0000208E 4A51 tst.w [A1]
00002090 6728 beq +0x2A /* 000020BA */
00002092 4251 clr.w [A1]
00002094 216F 0004 00F2 move.l [A0 + 0xF2], [A7 + 0x4]
0000209A 316F 0028 00F6 move.w [A0 + 0xF6], [A7 + 0x28]
000020A0 2149 00F8 move.l [A0 + 0xF8], A1
000020A4 216F 0020 00FC move.l [A0 + 0xFC], [A7 + 0x20]
000020AA 2F57 0026 move.l [A7 + 0x26], [A7]
000020AE 4FEF 0026 lea.l A7, [A7 + 0x26]
000020B2 A404 syscall Control, flags=4
000020B4 6600 F6AE bne -0x950 /* 00001764 */
000020B8 4E75 rts
label000020BA:
000020BA A004 syscall Control
000020BC 670C beq +0xE /* 000020CA */
000020BE 2F57 0026 move.l [A7 + 0x26], [A7]
000020C2 4FEF 0026 lea.l A7, [A7 + 0x26]
000020C6 6000 F69C bra -0x962 /* 00001764 */
label000020CA:
000020CA 226F 0004 movea.l A1, [A7 + 0x4]
000020CE 22A8 0012 move.l [A1], [A0 + 0x12]
000020D2 205F movea.l A0, [A7]+
000020D4 4FEF 0026 lea.l A7, [A7 + 0x26]
000020D8 4ED0 jmp [A0]
000020DA 3028 0010 move.w D0, [A0 + 0x10]
000020DE 670A beq +0xC /* 000020EA */
000020E0 3B68 00F6 F74E move.w [A5 - 0x8B2], [A0 + 0xF6]
000020E6 6000 F67C bra -0x982 /* 00001764 */
label000020EA:
000020EA 2268 00F8 movea.l A1, [A0 + 0xF8]
000020EE 32BC FFFF move.w [A1], 0xFFFF
000020F2 2268 00F2 movea.l A1, [A0 + 0xF2]
000020F6 22A8 0012 move.l [A1], [A0 + 0x12]
000020FA 4AA8 00FC tst.l [A0 + 0xFC]
000020FE 6706 beq +0x8 /* 00002106 */
00002100 2068 00FC movea.l A0, [A0 + 0xFC]
00002104 4ED0 jmp [A0]
label00002106:
00002106 4E75 rts
00002108 FFFF .invalid <<F/7/7>>
0000210A 4E75 rts
0000210C 203C 0000 0100 move.l D0, 0x100
00002112 A31E syscall NewPtrClear, flags=3
00002114 670C beq +0xE /* 00002122 */
label00002116:
00002116 2F57 002C move.l [A7 + 0x2C], [A7]
0000211A 4FEF 002C lea.l A7, [A7 + 0x2C]
0000211E 6000 F644 bra -0x9BA /* 00001764 */
label00002122:
00002122 2448 movea.l A2, A0
00002124 317C 00FB 001A move.w [A0 + 0x1A], 0xFB
0000212A 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
00002130 116F 0005 001C move.b [A0 + 0x1C], [A7 + 0x5]
00002136 6604 bne +0x6 /* 0000213C */
00002138 5228 001C addq.b [A0 + 0x1C], 1
label0000213C:
0000213C 116F 0007 001D move.b [A0 + 0x1D], [A7 + 0x7]
00002142 6604 bne +0x6 /* 00002148 */
00002144 5228 001D addq.b [A0 + 0x1D], 1
label00002148:
00002148 43E8 0080 lea.l A1, [A0 + 0x80]
0000214C 2149 001E move.l [A0 + 0x1E], A1
00002150 7208 moveq.l D1, 0x08
label00002152:
00002152 2077 1024 movea.l A0, [A7 + D1.w + 0x24]
00002156 7000 moveq.l D0, 0x00
00002158 1010 move.b D0, [A0]
0000215A 0C00 001F cmpi.b D0, 0x1F
0000215E 6510 bcs +0x12 /* 00002170 */
00002160 2F57 002C move.l [A7 + 0x2C], [A7]
00002164 4FEF 002C lea.l A7, [A7 + 0x2C]
00002168 204A movea.l A0, A2
0000216A A01F syscall DisposPtr/DisposePtr
0000216C 6000 F5CE bra -0xA30 /* 0000173C */
label00002170:
00002170 12D8 move.b [A1]+, [A0]+
00002172 51C8 FFFC dbf D0, -0x6 /* 00002170 */
00002176 5941 subq.w D1, 4
00002178 6AD8 bpl -0x26 /* 00002152 */
0000217A 226F 0020 movea.l A1, [A7 + 0x20]
0000217E 3011 move.w D0, [A1]
00002180 3540 0028 move.w [A2 + 0x28], D0
00002184 C0FC 0064 mulu.w D0, 0x64 /* 'd' */
00002188 3540 0026 move.w [A2 + 0x26], D0
0000218C A11E syscall NewPtr, flags=1
0000218E 6706 beq +0x8 /* 00002196 */
00002190 204A movea.l A0, A2
00002192 A01F syscall DisposPtr/DisposePtr
00002194 6080 bra -0x7E /* 00002116 */
label00002196:
00002196 2548 0022 move.l [A2 + 0x22], A0
0000219A 204A movea.l A0, A2
0000219C A004 syscall Control
0000219E 6718 beq +0x1A /* 000021B8 */
000021A0 3B40 F74A move.w [A5 - 0x8B6], D0
000021A4 A01F syscall DisposPtr/DisposePtr
000021A6 206A 0022 movea.l A0, [A2 + 0x22]
000021AA A01F syscall DisposPtr/DisposePtr
000021AC 2F57 002C move.l [A7 + 0x2C], [A7]
000021B0 4FEF 002C lea.l A7, [A7 + 0x2C]
000021B4 6000 F5B2 bra -0xA4C /* 00001768 */
label000021B8:
000021B8 226F 0020 movea.l A1, [A7 + 0x20]
000021BC 3E28 002A move.w D7, [A0 + 0x2A]
000021C0 BE51 cmp.w D7, [A1]
000021C2 6302 bls +0x4 /* 000021C6 */
000021C4 3E11 move.w D7, [A1]
label000021C6:
000021C6 3287 move.w [A1], D7
000021C8 6754 beq +0x56 /* 0000221E */
000021CA 5347 subq.w D7, 1
000021CC 2068 0022 movea.l A0, [A0 + 0x22]
label000021D0:
000021D0 226F 001C movea.l A1, [A7 + 0x1C]
000021D4 1018 move.b D0, [A0]+
000021D6 E148 lsl D0.w, 8
000021D8 8018 or.b D0, [A0]+
000021DA 3280 move.w [A1], D0
000021DC 54AF 001C addq.l [A7 + 0x1C], 2
000021E0 226F 0018 movea.l A1, [A7 + 0x18]
000021E4 4251 clr.w [A1]
000021E6 1358 0001 move.b [A1 + 0x1], [A0]+
000021EA 54AF 0018 addq.l [A7 + 0x18], 2
000021EE 226F 0014 movea.l A1, [A7 + 0x14]
000021F2 4251 clr.w [A1]
000021F4 1350 0001 move.b [A1 + 0x1], [A0]
000021F8 5488 addq.l A0, 2
000021FA 54AF 0014 addq.l [A7 + 0x14], 2
000021FE 7208 moveq.l D1, 0x08
label00002200:
00002200 7000 moveq.l D0, 0x00
00002202 2277 1008 movea.l A1, [A7 + D1.w + 0x8]
00002206 06B7 0000 0020 1008 addi.l [A7 + D1.w + 0x8], 0x20 /* ' ' */
0000220E 1010 move.b D0, [A0]
label00002210:
00002210 12D8 move.b [A1]+, [A0]+
00002212 51C8 FFFC dbf D0, -0x6 /* 00002210 */
00002216 5941 subq.w D1, 4
00002218 6AE6 bpl -0x18 /* 00002200 */
0000221A 51CF FFB4 dbf D7, -0x4E /* 000021D0 */
label0000221E:
0000221E 206A 0022 movea.l A0, [A2 + 0x22]
00002222 A01F syscall DisposPtr/DisposePtr
00002224 204A movea.l A0, A2
00002226 A01F syscall DisposPtr/DisposePtr
00002228 205F movea.l A0, [A7]+
0000222A 4FEF 002C lea.l A7, [A7 + 0x2C]
0000222E 4ED0 jmp [A0]
00002230 FFFF .invalid <<F/7/7>>
00002232 4E75 rts
00002234 FFFF .invalid <<F/7/7>>
00002236 4E75 rts
00002238 FFFF .invalid <<F/7/7>>
0000223A 4E75 rts
0000223C 4A40 tst.w D0
0000223E 6A08 bpl +0xA /* 00002248 */
00002240 4440 neg.w D0
00002242 E948 lsl D0.w, 4
00002244 4440 neg.w D0
00002246 6002 bra +0x4 /* 0000224A */
label00002248:
00002248 E948 lsl D0.w, 4
label0000224A:
0000224A 206D F750 movea.l A0, [A5 - 0x8B0]
0000224E 2030 0000 move.l D0, [A0 + D0.w]
00002252 4E75 rts
00002254 2B5F F760 move.l [A5 - 0x8A0], [A7]+
00002258 6100 F76A bsr -0x894 /* 000019C4 */
0000225C 2F2D F760 move.l -[A7], [A5 - 0x8A0]
00002260 302D F74E move.w D0, [A5 - 0x8B2]
00002264 3B40 F74E move.w [A5 - 0x8B2], D0
00002268 6B00 F4D8 bmi -0xB26 /* 00001742 */
0000226C E948 lsl D0.w, 4
0000226E 206D F750 movea.l A0, [A5 - 0x8B0]
00002272 4AB0 0000 tst.l [A0 + D0.w]
00002276 6700 F4CA beq -0xB34 /* 00001742 */
0000227A 2070 0000 movea.l A0, [A0 + D0.w]
label0000227E:
0000227E 42A8 002E clr.l [A0 + 0x2E]
00002282 317C 0002 002C move.w [A0 + 0x2C], 0x2
00002288 A044 syscall SetFPos
0000228A 6600 F4D2 bne -0xB2C /* 0000175E */
0000228E 4E75 rts
00002290 3B42 F74E move.w [A5 - 0x8B2], D2
00002294 6B00 006A bmi +0x6C /* 00002300 */
00002298 E94A lsl D2.w, 4
0000229A 226D F750 movea.l A1, [A5 - 0x8B0]
0000229E 4AB1 2000 tst.l [A1 + D2.w]
000022A2 6700 F492 beq -0xB6C /* 00001736 */
000022A6 2071 2000 movea.l A0, [A1 + D2.w]
000022AA 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000022AE 2F31 2004 move.l -[A7], [A1 + D2.w + 0x4]
000022B2 2F01 move.l -[A7], D1
000022B4 486D F760 pea.l [A5 - 0x8A0]
000022B8 A867 syscall LongMul
000022BA 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000022BE 4AAD F760 tst.l [A5 - 0x8A0]
000022C2 6600 F490 bne -0xB6E /* 00001754 */
000022C6 D0AD F764 add.l D0, [A5 - 0x89C]
000022CA 2140 002E move.l [A0 + 0x2E], D0
000022CE 2F00 move.l -[A7], D0
000022D0 317C 0001 002C move.w [A0 + 0x2C], 0x1
000022D6 A044 syscall SetFPos
000022D8 6604 bne +0x6 /* 000022DE */
000022DA 588F addq.l A7, 4
000022DC 4E75 rts
label000022DE:
000022DE 0C40 FFD9 cmpi.w D0, 0xFFD9
000022E2 670A beq +0xC /* 000022EE */
000022E4 588F addq.l A7, 4
label000022E6:
000022E6 3B40 F74A move.w [A5 - 0x8B6], D0
000022EA 6000 F468 bra -0xB96 /* 00001754 */
label000022EE:
000022EE 215F 001C move.l [A0 + 0x1C], [A7]+
000022F2 A012 syscall SetEOF
000022F4 6788 beq -0x76 /* 0000227E */
000022F6 0C40 FFDE cmpi.w D0, 0xFFDE
000022FA 6700 F42E beq -0xBD0 /* 0000172A */
000022FE 60E6 bra -0x18 /* 000022E6 */
label00002300:
00002300 4442 neg.w D2
00002302 E94A lsl D2.w, 4
00002304 4442 neg.w D2
00002306 206D F750 movea.l A0, [A5 - 0x8B0]
0000230A 41F0 2000 lea.l A0, [A0 + D2.w]
0000230E 4A90 tst.l [A0]
00002310 6700 F424 beq -0xBDA /* 00001736 */
00002314 0C28 0004 000C cmpi.b [A0 + 0xC], 0x4
0000231A 6600 F426 bne -0xBD8 /* 00001742 */
0000231E 3B41 F804 move.w [A5 - 0x7FC], D1
00002322 4EFA 2096 jmp [PC + 0x2096 /* 000043BA */]
fn00002326:
00002326 6104 bsr +0x6 /* 0000232C */
00002328 C141 exg D0, D1
0000232A 4E75 rts
fn0000232C:
0000232C 3B40 F74E move.w [A5 - 0x8B2], D0
00002330 6B32 bmi +0x34 /* 00002364 */
00002332 E948 lsl D0.w, 4
00002334 3400 move.w D2, D0
00002336 226D F750 movea.l A1, [A5 - 0x8B0]
0000233A 43F1 0000 lea.l A1, [A1 + D0.w]
0000233E 4A91 tst.l [A1]
00002340 6606 bne +0x8 /* 00002348 */
00002342 588F addq.l A7, 4
00002344 6000 F3F0 bra -0xC0E /* 00001736 */
label00002348:
00002348 2051 movea.l A0, [A1]
0000234A A018 syscall GetFPos
0000234C 670A beq +0xC /* 00002358 */
0000234E 3B40 F74A move.w [A5 - 0x8B6], D0
00002352 588F addq.l A7, 4
00002354 6000 F3FE bra -0xC00 /* 00001754 */
label00002358:
00002358 2228 002E move.l D1, [A0 + 0x2E]
0000235C 2029 0004 move.l D0, [A1 + 0x4]
00002360 4EFA E186 jmp [PC - 0x1E7A /* 000004E8 */]
label00002364:
00002364 4440 neg.w D0
00002366 E948 lsl D0.w, 4
00002368 4440 neg.w D0
0000236A 226D F750 movea.l A1, [A5 - 0x8B0]
0000236E 4AB1 0000 tst.l [A1 + D0.w]
00002372 6606 bne +0x8 /* 0000237A */
00002374 588F addq.l A7, 4
00002376 6000 F3BE bra -0xC40 /* 00001736 */
label0000237A:
0000237A 0C31 0004 000C cmpi.b [A1 + D0.w + 0xC], 0x4
00002380 6706 beq +0x8 /* 00002388 */
00002382 588F addq.l A7, 4
00002384 6000 F3BC bra -0xC42 /* 00001742 */
label00002388:
00002388 7000 moveq.l D0, 0x00
0000238A 302D F804 move.w D0, [A5 - 0x7FC]
0000238E 4E75 rts
00002390 3B41 F74E move.w [A5 - 0x8B2], D1
00002394 E949 lsl D1.w, 4
00002396 226D F750 movea.l A1, [A5 - 0x8B0]
0000239A 4AB1 1000 tst.l [A1 + D1.w]
0000239E 6700 F396 beq -0xC68 /* 00001736 */
000023A2 2400 move.l D2, D0
000023A4 6604 bne +0x6 /* 000023AA */
000023A6 2431 1004 move.l D2, [A1 + D1.w + 0x4]
label000023AA:
000023AA 2071 1000 movea.l A0, [A1 + D1.w]
000023AE A011 syscall GetEOF
000023B0 6600 F3A8 bne -0xC56 /* 0000175A */
000023B4 2228 001C move.l D1, [A0 + 0x1C]
000023B8 2002 move.l D0, D2
000023BA 4EBA E12C jsr [PC - 0x1ED4 /* 000004E8 */]
000023BE 4A81 tst.l D1
000023C0 6702 beq +0x4 /* 000023C4 */
000023C2 5280 addq.l D0, 1
label000023C4:
000023C4 4E75 rts
export_56:
fn000023C6:
000023C6 3B40 F74E move.w [A5 - 0x8B2], D0
000023CA 4A40 tst.w D0
000023CC 6B00 0088 bmi +0x8A /* 00002456 */
000023D0 226D F750 movea.l A1, [A5 - 0x8B0]
000023D4 E948 lsl D0.w, 4
000023D6 3400 move.w D2, D0
000023D8 4AB1 0000 tst.l [A1 + D0.w]
000023DC 6700 F358 beq -0xCA6 /* 00001736 */
fn000023E0:
000023E0 2071 0000 movea.l A0, [A1 + D0.w]
000023E4 A001 syscall Close
000023E6 6600 F372 bne -0xC8C /* 0000175A */
000023EA 42A8 0012 clr.l [A0 + 0x12]
000023EE A013 syscall FlushVol
000023F0 6600 F368 bne -0xC96 /* 0000175A */
000023F4 2071 2000 movea.l A0, [A1 + D2.w]
000023F8 42B1 2000 clr.l [A1 + D2.w]
000023FC A01F syscall DisposPtr/DisposePtr
000023FE 4E75 rts
fn00002400:
00002400 763F moveq.l D3, 0x3F
00002402 226D F750 movea.l A1, [A5 - 0x8B0]
label00002406:
00002406 2003 move.l D0, D3
00002408 E948 lsl D0.w, 4
0000240A 3400 move.w D2, D0
0000240C 4AB1 0000 tst.l [A1 + D0.w]
00002410 6702 beq +0x4 /* 00002414 */
00002412 61CC bsr -0x32 /* 000023E0 */
label00002414:
00002414 51CB FFF0 dbf D3, -0x12 /* 00002406 */
00002418 70F0 moveq.l D0, 0xFFFFFFF0
0000241A 266D F750 movea.l A3, [A5 - 0x8B0]
0000241E 47F3 0000 lea.l A3, [A3 + D0.w]
00002422 0C2B 0001 000C cmpi.b [A3 + 0xC], 0x1
00002428 6604 bne +0x6 /* 0000242E */
0000242A 4EBA 006A jsr [PC + 0x6A /* 00002496 */]
label0000242E:
0000242E 70E0 moveq.l D0, 0xFFFFFFE0
00002430 266D F750 movea.l A3, [A5 - 0x8B0]
00002434 47F3 0000 lea.l A3, [A3 + D0.w]
00002438 0C2B 0001 000C cmpi.b [A3 + 0xC], 0x1
0000243E 6604 bne +0x6 /* 00002444 */
00002440 4EBA 0054 jsr [PC + 0x54 /* 00002496 */]
label00002444:
00002444 302D F6CA move.w D0, [A5 - 0x936]
00002448 6702 beq +0x4 /* 0000244C */
0000244A 610A bsr +0xC /* 00002456 */
label0000244C:
0000244C 302D F7FE move.w D0, [A5 - 0x802]
00002450 6702 beq +0x4 /* 00002454 */
00002452 6102 bsr +0x4 /* 00002456 */
label00002454:
00002454 4E75 rts
fn00002456:
00002456 3400 move.w D2, D0
00002458 4440 neg.w D0
0000245A E948 lsl D0.w, 4
0000245C 4440 neg.w D0
0000245E 266D F750 movea.l A3, [A5 - 0x8B0]
00002462 47F3 0000 lea.l A3, [A3 + D0.w]
00002466 4A93 tst.l [A3]
00002468 6700 F2CC beq -0xD32 /* 00001736 */
0000246C 0C2B 0001 000C cmpi.b [A3 + 0xC], 0x1
00002472 6700 0022 beq +0x24 /* 00002496 */
00002476 0C2B 0002 000C cmpi.b [A3 + 0xC], 0x2
0000247C 6700 005C beq +0x5E /* 000024DA */
00002480 0C2B 0003 000C cmpi.b [A3 + 0xC], 0x3
00002486 6700 007A beq +0x7C /* 00002502 */
0000248A 0C2B 0004 000C cmpi.b [A3 + 0xC], 0x4
00002490 6700 00A4 beq +0xA6 /* 00002536 */
00002494 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
fn00002496:
00002496 2053 movea.l A0, [A3]
00002498 317C EC0A 001C move.w [A0 + 0x1C], 0xEC0A
0000249E 317C 0008 001A move.w [A0 + 0x1A], 0x8
000024A4 316B 0008 0018 move.w [A0 + 0x18], [A3 + 0x8]
000024AA A004 syscall Control
000024AC 316B 000A 0018 move.w [A0 + 0x18], [A3 + 0xA]
000024B2 A004 syscall Control
000024B4 42A8 001C clr.l [A0 + 0x1C]
000024B8 4268 0020 clr.w [A0 + 0x20]
000024BC 317C 0009 001A move.w [A0 + 0x1A], 0x9 /* '\t' */
000024C2 A004 syscall Control
000024C4 A01F syscall DisposPtr/DisposePtr
000024C6 4293 clr.l [A3]
000024C8 4AAB 0004 tst.l [A3 + 0x4]
000024CC 670A beq +0xC /* 000024D8 */
000024CE 206B 0004 movea.l A0, [A3 + 0x4]
000024D2 A01F syscall DisposPtr/DisposePtr
000024D4 42AB 0004 clr.l [A3 + 0x4]
label000024D8:
000024D8 4E75 rts
label000024DA:
000024DA 2F13 move.l -[A7], [A3]
000024DC 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000024E0 4A2D F759 tst.b [A5 - 0x8A7]
000024E4 660E bne +0x10 /* 000024F4 */
000024E6 206B 0008 movea.l A0, [A3 + 0x8]
000024EA A01F syscall DisposPtr/DisposePtr
000024EC 426D F6CA clr.w [A5 - 0x936]
000024F0 4293 clr.l [A3]
000024F2 4E75 rts
label000024F4:
000024F4 206B 0008 movea.l A0, [A3 + 0x8]
000024F8 A023 syscall DisposHandle/DisposeHandle
000024FA 426D F6CA clr.w [A5 - 0x936]
000024FE 4293 clr.l [A3]
00002500 4E75 rts
label00002502:
00002502 2053 movea.l A0, [A3]
00002504 317C 00FA 001A move.w [A0 + 0x1A], 0xFA
0000250A A004 syscall Control
0000250C 6704 beq +0x6 /* 00002512 */
0000250E 6000 F254 bra -0xDAA /* 00001764 */
label00002512:
00002512 4868 0089 pea.l [A0 + 0x89]
00002516 215F 001E move.l [A0 + 0x1E], [A7]+
0000251A 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
00002520 317C 00FC 001A move.w [A0 + 0x1A], 0xFC
00002526 A004 syscall Control
00002528 6704 beq +0x6 /* 0000252E */
0000252A 6000 F238 bra -0xDC6 /* 00001764 */
label0000252E:
0000252E 2053 movea.l A0, [A3]
00002530 A01F syscall DisposPtr/DisposePtr
00002532 4293 clr.l [A3]
00002534 4E75 rts
label00002536:
00002536 4293 clr.l [A3]
fn00002538:
00002538 4A2D F818 tst.b [A5 - 0x7E8]
0000253C 672E beq +0x30 /* 0000256C */
0000253E 206D F80E movea.l A0, [A5 - 0x7F2]
00002542 A001 syscall Close
00002544 A01F syscall DisposPtr/DisposePtr
00002546 42AD F80E clr.l [A5 - 0x7F2]
0000254A 2F2D F806 move.l -[A7], [A5 - 0x7FA]
0000254E A955 syscall DisposeControl
00002550 42AD F806 clr.l [A5 - 0x7FA]
00002554 2F2D F800 move.l -[A7], [A5 - 0x800]
00002558 A983 syscall DisposeDialog
0000255A 422D F818 clr.b [A5 - 0x7E8]
0000255E 42AD F800 clr.l [A5 - 0x800]
00002562 206D F812 movea.l A0, [A5 - 0x7EE]
00002566 A01F syscall DisposPtr/DisposePtr
00002568 42AD F812 clr.l [A5 - 0x7EE]
label0000256C:
0000256C 426D F7FE clr.w [A5 - 0x802]
00002570 4E75 rts
fn00002572:
00002572 48E7 E080 movem.l -[A7], D0,D1,D2,A0
00002576 203C 0000 0400 move.l D0, 0x400
0000257C A31E syscall NewPtrClear, flags=3
0000257E 2248 movea.l A1, A0
00002580 6704 beq +0x6 /* 00002586 */
00002582 3B40 F74A move.w [A5 - 0x8B6], D0
label00002586:
00002586 4CDF 0107 movem.l D0,D1,D2,A0, [A7]+
0000258A 6606 bne +0x8 /* 00002592 */
0000258C 023C 00FE andi.b ccr, 254
00002590 4E75 rts
label00002592:
00002592 003C 0001 ori.b ccr, 1
00002596 4E75 rts
00002598 7002 moveq.l D0, 0x02
0000259A 6016 bra +0x18 /* 000025B2 */
0000259C 7004 moveq.l D0, 0x04
0000259E 6012 bra +0x14 /* 000025B2 */
000025A0 7000 moveq.l D0, 0x00
000025A2 302D FEC4 move.w D0, [A5 - 0x13C]
000025A6 5240 addq.w D0, 1
000025A8 6008 bra +0xA /* 000025B2 */
000025AA 7000 moveq.l D0, 0x00
000025AC 302D FEC6 move.w D0, [A5 - 0x13A]
000025B0 5240 addq.w D0, 1
label000025B2:
000025B2 4EBA 00C6 jsr [PC + 0xC6 /* 0000267A */]
000025B6 6500 F17E bcs -0xE80 /* 00001736 */
000025BA 0C02 0001 cmpi.b D2, 0x1
000025BE 6604 bne +0x6 /* 000025C4 */
000025C0 3143 0018 move.w [A0 + 0x18], D3
label000025C4:
000025C4 A002 syscall Read
000025C6 6600 F192 bne -0xE6C /* 0000175A */
000025CA 0C02 0001 cmpi.b D2, 0x1
000025CE 6702 beq +0x4 /* 000025D2 */
000025D0 4E75 rts
label000025D2:
000025D2 2428 0028 move.l D2, [A0 + 0x28]
000025D6 670C beq +0xE /* 000025E4 */
000025D8 5342 subq.w D2, 1
000025DA 102D F758 move.b D0, [A5 - 0x8A8]
label000025DE:
000025DE C119 and.b [A1]+, D0
000025E0 51CA FFFC dbf D2, -0x6 /* 000025DE */
label000025E4:
000025E4 4E75 rts
000025E6 5288 addq.l A0, 1
000025E8 4EBA 0090 jsr [PC + 0x90 /* 0000267A */]
000025EC 6500 F148 bcs -0xEB6 /* 00001736 */
000025F0 0C02 0001 cmpi.b D2, 0x1
000025F4 670E beq +0x10 /* 00002604 */
000025F6 A002 syscall Read
000025F8 6600 F160 bne -0xE9E /* 0000175A */
000025FC 1368 002B FFFF move.b [A1 - 0x1], [A0 + 0x2B]
00002602 4E75 rts
label00002604:
00002604 3143 0018 move.w [A0 + 0x18], D3
00002608 4A80 tst.l D0
0000260A 6614 bne +0x16 /* 00002620 */
0000260C 317C 0002 001A move.w [A0 + 0x1A], 0x2
00002612 A005 syscall Status
00002614 4AA8 001C tst.l [A0 + 0x1C]
00002618 6724 beq +0x26 /* 0000263E */
0000261A 117C 0001 0027 move.b [A0 + 0x27], 0x1
label00002620:
00002620 A002 syscall Read
00002622 6600 F136 bne -0xEC8 /* 0000175A */
00002626 2428 0028 move.l D2, [A0 + 0x28]
0000262A 1342 FFFF move.b [A1 - 0x1], D2
0000262E 670C beq +0xE /* 0000263C */
00002630 5342 subq.w D2, 1
00002632 102D F758 move.b D0, [A5 - 0x8A8]
label00002636:
00002636 C119 and.b [A1]+, D0
00002638 51CA FFFC dbf D2, -0x6 /* 00002636 */
label0000263C:
0000263C 4E75 rts
label0000263E:
0000263E 4229 FFFF clr.b [A1 - 0x1]
00002642 4E75 rts
fn00002644:
00002644 41ED F756 lea.l A0, [A5 - 0x8AA]
00002648 7001 moveq.l D0, 0x01
0000264A 612E bsr +0x30 /* 0000267A */
0000264C 652A bcs +0x2C /* 00002678 */
0000264E 0C02 0001 cmpi.b D2, 0x1
00002652 6604 bne +0x6 /* 00002658 */
00002654 3143 0018 move.w [A0 + 0x18], D3
label00002658:
00002658 A002 syscall Read
0000265A 6600 0014 bne +0x16 /* 00002670 */
0000265E 1011 move.b D0, [A1]
00002660 0C02 0001 cmpi.b D2, 0x1
00002664 6604 bne +0x6 /* 0000266A */
00002666 C02D F758 and.b D0, [A5 - 0x8A8]
label0000266A:
0000266A 023C 00FE andi.b ccr, 254
0000266E 4E75 rts
label00002670:
00002670 3B40 F74A move.w [A5 - 0x8B6], D0
00002674 003C 0001 ori.b ccr, 1
label00002678:
00002678 4E75 rts
fn0000267A:
0000267A 322D F74E move.w D1, [A5 - 0x8B2]
0000267E 6A08 bpl +0xA /* 00002688 */
00002680 4441 neg.w D1
00002682 E949 lsl D1.w, 4
00002684 4441 neg.w D1
00002686 6002 bra +0x4 /* 0000268A */
label00002688:
00002688 E949 lsl D1.w, 4
label0000268A:
0000268A 226D F750 movea.l A1, [A5 - 0x8B0]
0000268E 43F1 1000 lea.l A1, [A1 + D1.w]
00002692 1429 000C move.b D2, [A1 + 0xC]
00002696 2629 0008 move.l D3, [A1 + 0x8]
0000269A 4A91 tst.l [A1]
0000269C 6716 beq +0x18 /* 000026B4 */
0000269E 2251 movea.l A1, [A1]
000026A0 2348 0020 move.l [A1 + 0x20], A0
000026A4 2340 0024 move.l [A1 + 0x24], D0
000026A8 4269 002C clr.w [A1 + 0x2C]
000026AC C348 exg A1, A0
000026AE 023C 00FE andi.b ccr, 254
000026B2 4E75 rts
label000026B4:
000026B4 003C 0001 ori.b ccr, 1
000026B8 4E75 rts
fn000026BA:
000026BA 41ED F756 lea.l A0, [A5 - 0x8AA]
000026BE 1080 move.b [A0], D0
000026C0 7001 moveq.l D0, 0x01
000026C2 426D F74E clr.w [A5 - 0x8B2]
000026C6 142D F84E move.b D2, [A5 - 0x7B2]
000026CA 4882 ext.w D2
000026CC 3B42 F74E move.w [A5 - 0x8B2], D2
000026D0 601A bra +0x1C /* 000026EC */
000026D2 7002 moveq.l D0, 0x02
000026D4 6016 bra +0x18 /* 000026EC */
000026D6 7004 moveq.l D0, 0x04
000026D8 6012 bra +0x14 /* 000026EC */
000026DA 7000 moveq.l D0, 0x00
000026DC 302D FEC4 move.w D0, [A5 - 0x13C]
000026E0 5240 addq.w D0, 1
000026E2 6008 bra +0xA /* 000026EC */
000026E4 7000 moveq.l D0, 0x00
000026E6 302D FEC6 move.w D0, [A5 - 0x13A]
000026EA 5240 addq.w D0, 1
label000026EC:
000026EC 618C bsr -0x72 /* 0000267A */
000026EE 6500 F046 bcs -0xFB8 /* 00001736 */
000026F2 0C02 0001 cmpi.b D2, 0x1
000026F6 6606 bne +0x8 /* 000026FE */
000026F8 4843 swap.w D3
000026FA 3143 0018 move.w [A0 + 0x18], D3
label000026FE:
000026FE A003 syscall Write
00002700 6600 F058 bne -0xFA6 /* 0000175A */
00002704 4E75 rts
00002706 7200 moveq.l D1, 0x00
00002708 1218 move.b D1, [A0]+
0000270A B240 cmp.w D1, D0
0000270C 64DE bcc -0x20 /* 000026EC */
0000270E 3F00 move.w -[A7], D0
00002710 9041 sub.w D0, D1
00002712 43ED FB0E lea.l A1, [A5 - 0x4F2]
00002716 5340 subq.w D0, 1
00002718 6002 bra +0x4 /* 0000271C */
label0000271A:
0000271A 12D8 move.b [A1]+, [A0]+
label0000271C:
0000271C 51C9 FFFC dbf D1, -0x6 /* 0000271A */
label00002720:
00002720 12FC 0020 move.b [A1]+, 0x20 /* ' ' */
00002724 51C8 FFFA dbf D0, -0x8 /* 00002720 */
00002728 41ED FB0E lea.l A0, [A5 - 0x4F2]
0000272C 301F move.w D0, [A7]+
0000272E 60BC bra -0x42 /* 000026EC */
00002730 2648 movea.l A3, A0
00002732 2448 movea.l A2, A0
00002734 421A clr.b [A2]+
00002736 4EBA 008E jsr [PC + 0x8E /* 000027C6 */]
0000273A 6500 F022 bcs -0xFDC /* 0000175E */
label0000273E:
0000273E 0C00 0022 cmpi.b D0, 0x22 /* '\"' */
00002742 6700 0034 beq +0x36 /* 00002778 */
00002746 0C00 002C cmpi.b D0, 0x2C /* ',' */
0000274A 672A beq +0x2C /* 00002776 */
0000274C 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
00002750 660A bne +0xC /* 0000275C */
00002752 4EBA 0086 jsr [PC + 0x86 /* 000027DA */]
00002756 6500 F006 bcs -0xFF8 /* 0000175E */
0000275A 60E2 bra -0x1C /* 0000273E */
label0000275C:
0000275C 5213 addq.b [A3], 1
0000275E 4EBA 007A jsr [PC + 0x7A /* 000027DA */]
00002762 6500 EFFA bcs -0x1004 /* 0000175E */
00002766 0C00 002C cmpi.b D0, 0x2C /* ',' */
0000276A 670A beq +0xC /* 00002776 */
0000276C 0C00 000D cmpi.b D0, 0xD /* '\r' */
00002770 6704 beq +0x6 /* 00002776 */
00002772 51C9 FFE8 dbf D1, -0x1A /* 0000275C */
label00002776:
00002776 4E75 rts
label00002778:
00002778 538A subq.l A2, 1
label0000277A:
0000277A 4EBA 005E jsr [PC + 0x5E /* 000027DA */]
0000277E 6500 EFDE bcs -0x1020 /* 0000175E */
00002782 0C40 0022 cmpi.w D0, 0x22 /* '\"' */
00002786 6708 beq +0xA /* 00002790 */
00002788 5213 addq.b [A3], 1
0000278A 51C9 FFEE dbf D1, -0x14 /* 0000277A */
0000278E 4E75 rts
label00002790:
00002790 4EBA 0048 jsr [PC + 0x48 /* 000027DA */]
00002794 6500 EFC8 bcs -0x1036 /* 0000175E */
00002798 538A subq.l A2, 1
0000279A 0C00 002C cmpi.b D0, 0x2C /* ',' */
0000279E 6706 beq +0x8 /* 000027A6 */
000027A0 0C00 000D cmpi.b D0, 0xD /* '\r' */
000027A4 66EA bne -0x14 /* 00002790 */
label000027A6:
000027A6 4E75 rts
000027A8 6104 bsr +0x6 /* 000027AE */
000027AA 3080 move.w [A0], D0
000027AC 4E75 rts
fn000027AE:
000027AE 2F08 move.l -[A7], A0
000027B0 613E bsr +0x40 /* 000027F0 */
000027B2 41ED FB0E lea.l A0, [A5 - 0x4F2]
000027B6 4EBA E32A jsr [PC - 0x1CD6 /* 00000AE2 */]
000027BA 205F movea.l A0, [A7]+
000027BC 4E75 rts
000027BE 61EE bsr -0x10 /* 000027AE */
000027C0 2080 move.l [A0], D0
000027C2 4E75 rts
label000027C4:
000027C4 538A subq.l A2, 1
fn000027C6:
000027C6 323C 00FF move.w D1, 0xFF
000027CA 610E bsr +0x10 /* 000027DA */
000027CC 650A bcs +0xC /* 000027D8 */
000027CE 0C00 000A cmpi.b D0, 0xA /* '\n' */
000027D2 67F0 beq -0xE /* 000027C4 */
000027D4 023C 00FE andi.b ccr, 254
label000027D8:
000027D8 4E75 rts
fn000027DA:
000027DA 4A6D F74C tst.w [A5 - 0x8B4]
000027DE 660A bne +0xC /* 000027EA */
000027E0 6100 FE62 bsr -0x19C /* 00002644 */
000027E4 6508 bcs +0xA /* 000027EE */
000027E6 14C0 move.b [A2]+, D0
000027E8 4E75 rts
label000027EA:
000027EA 003C 0001 ori.b ccr, 1
label000027EE:
000027EE 4E75 rts
fn000027F0:
000027F0 45ED FB0E lea.l A2, [A5 - 0x4F2]
000027F4 61D0 bsr -0x2E /* 000027C6 */
000027F6 6516 bcs +0x18 /* 0000280E */
label000027F8:
000027F8 0C00 000D cmpi.b D0, 0xD /* '\r' */
000027FC 670E beq +0x10 /* 0000280C */
000027FE 0C00 002C cmpi.b D0, 0x2C /* ',' */
00002802 6708 beq +0xA /* 0000280C */
00002804 61D4 bsr -0x2A /* 000027DA */
00002806 6506 bcs +0x8 /* 0000280E */
00002808 51C9 FFEE dbf D1, -0x14 /* 000027F8 */
label0000280C:
0000280C 4E75 rts
label0000280E:
0000280E 508F addq.l A7, 8
00002810 588F addq.l A7, 4
00002812 0C40 FFD9 cmpi.w D0, 0xFFD9
00002816 6700 EF0C beq -0x10F2 /* 00001724 */
0000281A 0C40 FFDA cmpi.w D0, 0xFFDA
0000281E 6700 EF16 beq -0x10E8 /* 00001736 */
00002822 6000 EF3A bra -0x10C4 /* 0000175E */
00002826 6104 bsr +0x6 /* 0000282C */
00002828 4EFA 39C2 jmp [PC + 0x39C2 /* 000061EC */]
fn0000282C:
0000282C 2F08 move.l -[A7], A0
0000282E 61C0 bsr -0x3E /* 000027F0 */
00002830 41ED FB0E lea.l A0, [A5 - 0x4F2]
00002834 4EBA 3836 jsr [PC + 0x3836 /* 0000606C */]
00002838 205F movea.l A0, [A7]+
0000283A 4E75 rts
0000283C 61EE bsr -0x10 /* 0000282C */
0000283E 4EFA 3A42 jmp [PC + 0x3A42 /* 00006282 */]
00002842 5288 addq.l A0, 1
00002844 203C 0000 00FE move.l D0, 0xFE
0000284A 6100 FE2E bsr -0x1D0 /* 0000267A */
0000284E 0C02 0001 cmpi.b D2, 0x1
00002852 6730 beq +0x32 /* 00002884 */
00002854 317C 0D80 002C move.w [A0 + 0x2C], 0xD80
0000285A A002 syscall Read
0000285C 6614 bne +0x16 /* 00002872 */
label0000285E:
0000285E 2028 0028 move.l D0, [A0 + 0x28]
00002862 0C31 000D 00FF cmpi.b [A1 + D0.w - 0x1], 0xD /* '\r' */
00002868 6602 bne +0x4 /* 0000286C */
0000286A 5340 subq.w D0, 1
label0000286C:
0000286C 1340 FFFF move.b [A1 - 0x1], D0
00002870 4E75 rts
label00002872:
00002872 0C40 FFD9 cmpi.w D0, 0xFFD9
00002876 6600 EEE2 bne -0x111C /* 0000175A */
0000287A 4AA8 0028 tst.l [A0 + 0x28]
0000287E 66DE bne -0x20 /* 0000285E */
00002880 4EFA EEA2 jmp [PC - 0x115E /* 00001724 */]
label00002884:
00002884 486D F756 pea.l [A5 - 0x8AA]
00002888 215F 0020 move.l [A0 + 0x20], [A7]+
0000288C 3143 0018 move.w [A0 + 0x18], D3
00002890 7E00 moveq.l D7, 0x00
00002892 317C 0001 0026 move.w [A0 + 0x26], 0x1
label00002898:
00002898 A002 syscall Read
0000289A 661C bne +0x1E /* 000028B8 */
0000289C 102D F756 move.b D0, [A5 - 0x8AA]
000028A0 C02D F758 and.b D0, [A5 - 0x8A8]
000028A4 0C00 000D cmpi.b D0, 0xD /* '\r' */
000028A8 671C beq +0x1E /* 000028C6 */
000028AA 1380 7000 move.b [A1 + D7.w], D0
000028AE 5247 addq.w D7, 1
000028B0 0C47 00FF cmpi.w D7, 0xFF
000028B4 65E2 bcs -0x1C /* 00002898 */
000028B6 600E bra +0x10 /* 000028C6 */
label000028B8:
000028B8 0C40 FFD9 cmpi.w D0, 0xFFD9
000028BC 6600 EE9C bne -0x1162 /* 0000175A */
000028C0 4A47 tst.w D7
000028C2 6700 EE60 beq -0x119E /* 00001724 */
label000028C6:
000028C6 1347 FFFF move.b [A1 - 0x1], D7
000028CA 4E75 rts
000028CC 003B 0098 004D ori.b [PC + D0.w + 0x4D], 0x98
000028D2 00E8 .incomplete
000028D4 0644 656C addi.w D4, 0x656C /* 'el' */
000028D8 6574 bcs +0x76 /* 0000294E */
000028DA 6500 0000 bcs +0x2 /* 000028DC */
// begin alternate branch 000028DC-000028E4
label000028DC:
000028DC 0000 086E ori.b D0, 0x6E /* 'n' */
000028E0 6F52 ble +0x54 /* 00002934 */
000028E2 6561 bcs +0x63 /* 00002945 */
// end alternate branch 000028DC-000028E4
label000028DC: // (misaligned)
000028DE 086E 6F52 6561 bchg.b [A6 + 0x6561], 0x52 /* 'R' */
000028E4 6465 bcc +0x67 /* 0000294B */
000028E6 7200 moveq.l D1, 0x00
000028E8 084E 6577 bchg.b A6, 0x77 /* 'w' */
000028EC 2046 movea.l A0, D6
000028EE 696C bvs +0x6E /* 0000295C */
000028F0 6500 044F bcs +0x451 /* 00002D41 */
000028F4 7065 moveq.l D0, 0x65
000028F6 6E00 042E bgt +0x430 /* 00002D26 */
000028FA 4154 chk.w D0, [A4]
000028FC 5000 addq.b D0, 8
000028FE 042E 4D50 5000 subi.b [A6 + 0x5000], 0x50 /* 'P' */
00002904 0A20 696E xori.b -[A0], 0x6E /* 'n' */
00002908 2046 movea.l A0, D6
0000290A 696C bvs +0x6E /* 00002978 */
0000290C 6520 bcs +0x22 /* 0000292E */
0000290E 2306 move.l -[A1], D6
00002910 2045 movea.l A0, D5
00002912 7272 moveq.l D1, 0x72
00002914 6F72 ble +0x74 /* 00002988 */
00002916 024E 6F0B andi.w A6, 0x6F0B
0000291A 456E 6420 chk.w D2, [A6 + 0x6420]
0000291E 6F66 ble +0x68 /* 00002986 */
00002920 2046 movea.l A0, D6
00002922 696C bvs +0x6E /* 00002990 */
00002924 6509 bcs +0xB /* 0000292F */
00002926 4469 736B neg.w [A1 + 0x736B]
0000292A 2046 movea.l A0, D6
0000292C 756C moveq.l D2, 0x6C
label0000292E:
0000292E 6C0E bge +0x10 /* 0000293E */
00002930 4669 6C65 not.w [A1 + 0x6C65]
label00002934:
00002934 204E movea.l A0, A6
00002936 6F74 ble +0x76 /* 000029AC */
00002938 2046 movea.l A0, D6
0000293A 6F75 ble +0x77 /* 000029B1 */
0000293C 6E64 bgt +0x66 /* 000029A2 */
label0000293E:
0000293E 0D46 bchg D6, D6
00002940 696C bvs +0x6E /* 000029AE */
00002942 6520 bcs +0x22 /* 00002964 */
00002944 4E6F move A7, USP
00002946 7420 moveq.l D2, 0x20
00002948 4F70 656E chk.w D7, <<invalid full ext with IS == 1 and I/IS == 6>>
0000294C 0D42 bchg D2, D6
label0000294E:
0000294E 6164 bsr +0x66 /* 000029B4 */
00002950 2046 movea.l A0, D6
00002952 696C bvs +0x6E /* 000029C0 */
00002954 6520 bcs +0x22 /* 00002976 */
00002956 4E61 move USP, A1
00002958 6D65 blt +0x67 /* 000029BF */
0000295A 0F42 bchg D2, D7
label0000295C:
0000295C 6164 bsr +0x66 /* 000029C2 */
0000295E 2046 movea.l A0, D6
00002960 696C bvs +0x6E /* 000029CE */
00002962 6520 bcs +0x22 /* 00002984 */
label00002964:
00002964 4E75 rts
00002966 6D62 blt +0x64 /* 000029CA */
00002968 6572 bcs +0x74 /* 000029DC */
0000296A 0A57 7269 xori.w [A7], 0x7269 /* 'ri' */
0000296E 7465 moveq.l D2, 0x65
00002970 204F movea.l A0, A7
00002972 6E6C bgt +0x6E /* 000029E0 */
00002974 7909 moveq.l D4, 0x09
label00002976:
00002976 5265 addq.w -[A5], 1
label00002978:
00002978 6164 bsr +0x66 /* 000029DE */
0000297A 204F movea.l A0, A7
0000297C 6E6C bgt +0x6E /* 000029EA */
0000297E 7908 moveq.l D4, 0x08
00002980 506F 7369 addq.w [A7 + 0x7369], 8
label00002984:
00002984 7469 moveq.l D2, 0x69
label00002986:
00002986 6F6E ble +0x70 /* 000029F6 */
label00002988:
00002988 0444 6973 subi.w D4, 0x6973 /* 'is' */
0000298C 6B06 bmi +0x8 /* 00002994 */
0000298E 5379 7374 656D subq.w [0x7374656D], 1
// begin alternate branch 00002990-00002994
label00002990:
00002990 7374 moveq.l D1, 0x74
00002992 656D bcs +0x6F /* 00002A01 */
// end alternate branch 00002990-00002994
label00002990: // (misaligned)
label00002994:
00002994 1145 7869 move.b [A0 + 0x7869], D5
00002998 7469 moveq.l D2, 0x69
0000299A 6E67 bgt +0x69 /* 00002A03 */
0000299C 2074 6F20 4669 movea.l A0, [A4 + 0x4669 + D6 * 8]
label000029A2:
000029A2 6E64 bgt +0x66 /* 00002A08 */
000029A4 6572 bcs +0x74 /* 00002A18 */
000029A6 1845 movea.b A4, D5
000029A8 7272 moveq.l D1, 0x72
000029AA 6F72 ble +0x74 /* 00002A1E */
label000029AC:
000029AC 206C 6F61 movea.l A0, [A4 + 0x6F61]
// begin alternate branch 000029AE-000029B0
label000029AE:
000029AE 6F61 ble +0x63 /* 00002A11 */
// end alternate branch 000029AE-000029B0
label000029AE: // (misaligned)
000029B0 6469 bcc +0x6B /* 00002A1B */
000029B2 6E67 bgt +0x69 /* 00002A1B */
fn000029B4:
000029B4 2043 movea.l A0, D3
000029B6 6861 bvc +0x63 /* 00002A19 */
000029B8 696E bvs +0x70 /* 00002A28 */
000029BA 2046 movea.l A0, D6
000029BC 696C bvs +0x6E /* 00002A2A */
000029BE 6500 362F bcs +0x3631 /* 00005FEF */
// begin alternate branch 000029C0-000029C6
label000029C0:
000029C0 362F 000E move.w D3, [A7 + 0xE]
fn000029C2: // (misaligned)
000029C4 6B0C bmi +0xE /* 000029D2 */
// end alternate branch 000029C0-000029C6
label000029C0: // (misaligned)
fn000029C2:
000029C2 000E 6B0C ori.b A6, 0xC
label000029C6:
000029C6 2F57 000C move.l [A7 + 0xC], [A7]
label000029CA:
000029CA 4FEF 000C lea.l A7, [A7 + 0xC]
label000029CE:
000029CE 4EFA ED72 jmp [PC - 0x128E /* 00001742 */]
label000029D2:
000029D2 4443 neg.w D3
000029D4 E94B lsl D3.w, 4
000029D6 246D F750 movea.l A2, [A5 - 0x8B0]
000029DA 4443 neg.w D3
label000029DC:
000029DC 45F2 3000 lea.l A2, [A2 + D3.w]
// begin alternate branch 000029DE-000029E0
fn000029DE:
000029DE 3000 move.w D0, D0
// end alternate branch 000029DE-000029E0
fn000029DE: // (misaligned)
label000029E0:
000029E0 4A92 tst.l [A2]
000029E2 670C beq +0xE /* 000029F0 */
000029E4 0C2A 0001 000C cmpi.b [A2 + 0xC], 0x1
label000029EA:
000029EA 66DA bne -0x24 /* 000029C6 */
000029EC 4EFA 0092 jmp [PC + 0x92 /* 00002A80 */]
label000029F0:
000029F0 302F 000E move.w D0, [A7 + 0xE]
000029F4 4241 clr.w D1
label000029F6:
000029F6 357C FFF9 0008 move.w [A2 + 0x8], 0xFFF9
000029FC 357C FFFA 000A move.w [A2 + 0xA], 0xFFFA
00002A02 487A 01C0 pea.l [PC + 0x1C0 /* 00002BC4, value 0x42E4149, pstring ".AIn" */]
00002A06 487A 01C1 pea.l [PC + 0x1C1 /* 00002BC9, value 0x52E414F, pstring ".AOut" */]
// begin alternate branch 00002A08-00002A0A
label00002A08:
00002A08 01C1 .incomplete
// end alternate branch 00002A08-00002A0A
label00002A08: // (misaligned)
00002A0A 5240 addq.w D0, 1
00002A0C 6722 beq +0x24 /* 00002A30 */
00002A0E 08C1 0008 bset.b D1, 0x8
00002A12 357C FFF7 0008 move.w [A2 + 0x8], 0xFFF7
label00002A18:
00002A18 357C FFF8 000A move.w [A2 + 0xA], 0xFFF8
label00002A1E:
00002A1E 508F addq.l A7, 8
00002A20 487A 01AD pea.l [PC + 0x1AD /* 00002BCF, value 0x42E4249, pstring ".BIn" */]
00002A24 487A 01AE pea.l [PC + 0x1AE /* 00002BD4, value 0x52E424F, pstring ".BOut" */]
label00002A28:
00002A28 5240 addq.w D0, 1
label00002A2A:
00002A2A 6704 beq +0x6 /* 00002A30 */
00002A2C 508F addq.l A7, 8
00002A2E 6096 bra -0x68 /* 000029C6 */
label00002A30:
00002A30 2B5F F7B2 move.l [A5 - 0x84E], [A7]+
00002A34 2B5F F7B6 move.l [A5 - 0x84A], [A7]+
00002A38 203C 0000 0100 move.l D0, 0x100
00002A3E A31E syscall NewPtrClear, flags=3
00002A40 670C beq +0xE /* 00002A4E */
label00002A42:
00002A42 2F57 000C move.l [A7 + 0xC], [A7]
00002A46 4FEF 000C lea.l A7, [A7 + 0xC]
00002A4A 4EFA ED1C jmp [PC - 0x12E4 /* 00001768 */]
label00002A4E:
00002A4E 2488 move.l [A2], A0
00002A50 157C 0001 000C move.b [A2 + 0xC], 0x1
00002A56 117C 0002 001B move.b [A0 + 0x1B], 0x2
00002A5C 216D F7B2 0012 move.l [A0 + 0x12], [A5 - 0x84E]
00002A62 A000 syscall Open/PBHOpen/HOpen
00002A64 66DC bne -0x22 /* 00002A42 */
00002A66 117C 0001 001B move.b [A0 + 0x1B], 0x1
00002A6C 216D F7B6 0012 move.l [A0 + 0x12], [A5 - 0x84A]
00002A72 A000 syscall Open/PBHOpen/HOpen
00002A74 66CC bne -0x32 /* 00002A42 */
00002A76 357C 6D7C 000E move.w [A2 + 0xE], 0x6D7C /* 'm|' */
00002A7C 42AA 0004 clr.l [A2 + 0x4]
label00002A80:
00002A80 7000 moveq.l D0, 0x00
00002A82 4A6F 0004 tst.w [A7 + 0x4]
00002A86 6B3A bmi +0x3C /* 00002AC2 */
00002A88 4AAA 0004 tst.l [A2 + 0x4]
00002A8C 670A beq +0xC /* 00002A98 */
00002A8E 206A 0004 movea.l A0, [A2 + 0x4]
00002A92 A01F syscall DisposPtr/DisposePtr
00002A94 42AA 0004 clr.l [A2 + 0x4]
label00002A98:
00002A98 302F 0004 move.w D0, [A7 + 0x4]
00002A9C 6708 beq +0xA /* 00002AA6 */
00002A9E A11E syscall NewPtr, flags=1
00002AA0 66A0 bne -0x5E /* 00002A42 */
00002AA2 2548 0004 move.l [A2 + 0x4], A0
label00002AA6:
00002AA6 2252 movea.l A1, [A2]
00002AA8 337C 0009 001A move.w [A1 + 0x1A], 0x9 /* '\t' */
00002AAE 2348 001C move.l [A1 + 0x1C], A0
00002AB2 336A 000A 0018 move.w [A1 + 0x18], [A2 + 0xA]
00002AB8 336F 0004 0020 move.w [A1 + 0x20], [A7 + 0x4]
00002ABE C348 exg A1, A0
00002AC0 A004 syscall Control
label00002AC2:
00002AC2 342A 000E move.w D2, [A2 + 0xE]
00002AC6 302F 0006 move.w D0, [A7 + 0x6]
00002ACA 6B1C bmi +0x1E /* 00002AE8 */
00002ACC 0242 F3FF andi.w D2, 0xF3FF
00002AD0 0240 0003 andi.w D0, 0x3
00002AD4 43FA 00E4 lea.l A1, [PC + 0xE4 /* 00002BBA, value 0x7FFF1F3F */]
00002AD8 1B71 0000 F758 move.b [A5 - 0x8A8], [A1 + D0.w]
00002ADE 43FA 00D2 lea.l A1, [PC + 0xD2 /* 00002BB2, value 0x4000C00 */]
00002AE2 D040 add.w D0, D0
00002AE4 8471 0000 or.w D2, [A1 + D0.w]
label00002AE8:
00002AE8 302F 0008 move.w D0, [A7 + 0x8]
00002AEC 6B14 bmi +0x16 /* 00002B02 */
00002AEE 0242 3FFF andi.w D2, 0x3FFF
00002AF2 5240 addq.w D0, 1
00002AF4 0240 0003 andi.w D0, 0x3
00002AF8 D040 add.w D0, D0
00002AFA 43FA 00C0 lea.l A1, [PC + 0xC0 /* 00002BBC, value 0x1F3F4000 */]
00002AFE 8471 0000 or.w D2, [A1 + D0.w]
label00002B02:
00002B02 302F 000A move.w D0, [A7 + 0xA]
00002B06 6B12 bmi +0x14 /* 00002B1A */
00002B08 0242 CFFF andi.w D2, 0xCFFF
00002B0C 0240 0003 andi.w D0, 0x3
00002B10 D040 add.w D0, D0
00002B12 43FA 0068 lea.l A1, [PC + 0x68 /* 00002B7C, value 0x20001000, cstring " " */]
00002B16 8471 0000 or.w D2, [A1 + D0.w]
label00002B1A:
00002B1A 302F 000C move.w D0, [A7 + 0xC]
00002B1E 671A beq +0x1C /* 00002B3A */
00002B20 0242 FC00 andi.w D2, 0xFC00
00002B24 7200 moveq.l D1, 0x00
00002B26 43FA 0072 lea.l A1, [PC + 0x72 /* 00002B9A, value 0x12C0258 */]
label00002B2A:
00002B2A B059 cmp.w D0, [A1]+
00002B2C 6304 bls +0x6 /* 00002B32 */
00002B2E 5441 addq.w D1, 2
00002B30 60F8 bra -0x6 /* 00002B2A */
label00002B32:
00002B32 43FA 0050 lea.l A1, [PC + 0x50 /* 00002B84, value 0x17C00BD */]
00002B36 8471 1000 or.w D2, [A1 + D1.w]
label00002B3A:
00002B3A 3142 001C move.w [A0 + 0x1C], D2
00002B3E 3542 000E move.w [A2 + 0xE], D2
00002B42 317C 0008 001A move.w [A0 + 0x1A], 0x8
00002B48 316A 0008 0018 move.w [A0 + 0x18], [A2 + 0x8]
00002B4E A004 syscall Control
00002B50 670C beq +0xE /* 00002B5E */
label00002B52:
00002B52 2F57 000C move.l [A7 + 0xC], [A7]
00002B56 4FEF 000C lea.l A7, [A7 + 0xC]
00002B5A 4EFA EC0C jmp [PC - 0x13F4 /* 00001768 */]
label00002B5E:
00002B5E 316A 000A 0018 move.w [A0 + 0x18], [A2 + 0xA]
00002B64 3142 001C move.w [A0 + 0x1C], D2
00002B68 317C 0008 001A move.w [A0 + 0x1A], 0x8
00002B6E A004 syscall Control
00002B70 66E0 bne -0x1E /* 00002B52 */
00002B72 2F57 000C move.l [A7 + 0xC], [A7]
00002B76 4FEF 000C lea.l A7, [A7 + 0xC]
00002B7A 4E75 rts
00002B7C 2000 move.l D0, D0
00002B7E 1000 move.b D0, D0
00002B80 3000 move.w D0, D0
00002B82 2000 move.l D0, D0
00002B84 017C 00BD bchg 0xBD, D0
00002B88 005E 003E ori.w [A6]+, 0x3E /* '>' */
00002B8C 002E 001E 0016 ori.b [A6 + 0x16], 0x1E
00002B92 000E 000A ori.b A6, 0xA /* '\n' */
00002B96 0004 0000 ori.b D4, 0x0
00002B9A 012C 0258 btst [A4 + 0x258], D0
00002B9E 04B0 0708 0960 0E10 subi.l [A0 + D0 * 8 + 0x10], 0x7080960
00002BA6 12C0 move.b [A1]+, D0
00002BA8 1C20 move.b D6, -[A0]
00002BAA 2580 4B00 move.l [A2 + <<invalid base displacement size>> + D4 * 2], D0
00002BAE E100 asl D0.b, 8
00002BB0 FFFF .invalid <<F/7/7>>
00002BB2 0400 0C00 subi.b D0, 0x0
00002BB6 0000 0800 ori.b D0, 0x0
00002BBA 7FFF moveq.l D7, 0xFFFFFFFF
00002BBC 1F3F move.b -[A7], <<invalid special address>>
00002BBE 4000 negx.b D0
00002BC0 C000 and.b D0, D0
00002BC2 8000 or.b D0, D0
00002BC4 042E 4149 6E05 subi.b [A6 + 0x6E05], 0x49 /* 'I' */
00002BCA 2E41 movea.l A7, D1
00002BCC 4F75 7404 chk.w D7, [A5 + D7.w * 4 + 0x4]
00002BD0 2E42 movea.l A7, D2
00002BD2 496E 052E chk.w D4, [A6 + 0x52E]
00002BD6 424F clr.w A7
00002BD8 7574 moveq.l D2, 0x74
00002BDA 50ED F75A st [A5 - 0x8A6]
00002BDE 2B6D F87E F780 move.l [A5 - 0x880], [A5 - 0x782]
00002BE4 2B6D F882 F784 move.l [A5 - 0x87C], [A5 - 0x77E]
00002BEA 4E75 rts
00002BEC 2F0C move.l -[A7], A4
00002BEE 286D F7FA movea.l A4, [A5 - 0x806]
00002BF2 2B6C 0030 F850 move.l [A5 - 0x7B0], [A4 + 0x30]
00002BF8 2B6C 0034 F854 move.l [A5 - 0x7AC], [A4 + 0x34]
00002BFE 2978 0A02 0034 move.l [A4 + 0x34], [0x00000A02 /* OneOne */]
00002C04 3B41 F900 move.w [A5 - 0x700], D1
00002C08 3B40 F8FE move.w [A5 - 0x702], D0
00002C0C 486D F8FE pea.l [A5 - 0x702]
00002C10 486D F780 pea.l [A5 - 0x880]
00002C14 486D F87E pea.l [A5 - 0x782]
00002C18 A8F9 syscall MapPt
00002C1A 558F subq.l A7, 2
00002C1C 2F2D F8FE move.l -[A7], [A5 - 0x702]
00002C20 2F2C 0018 move.l -[A7], [A4 + 0x18]
00002C24 A8E8 syscall PtInRgn
00002C26 4A1F tst.b [A7]+
00002C28 6610 bne +0x12 /* 00002C3A */
00002C2A 296D F850 0030 move.l [A4 + 0x30], [A5 - 0x7B0]
00002C30 296D F854 0034 move.l [A4 + 0x34], [A5 - 0x7AC]
00002C36 285F movea.l A4, [A7]+
00002C38 4E75 rts
label00002C3A:
00002C3A 303C A865 move.w D0, 0xA865
00002C3E A146 syscall GetTrapAddress, flags=1
00002C40 2648 movea.l A3, A0
00002C42 303C A8E8 move.w D0, 0xA8E8
00002C46 A146 syscall GetTrapAddress, flags=1
00002C48 2448 movea.l A2, A0
00002C4A 558F subq.l A7, 2
00002C4C 2F2D F8FE move.l -[A7], [A5 - 0x702]
00002C50 4E93 jsr [A3]
00002C52 1B5F F7A8 move.b [A5 - 0x858], [A7]+
00002C56 3E2D F8FE move.w D7, [A5 - 0x702]
00002C5A 3C2D F900 move.w D6, [A5 - 0x700]
00002C5E A852 syscall HideCursor
label00002C60:
00002C60 5347 subq.w D7, 1
00002C62 4EBA 007A jsr [PC + 0x7A /* 00002CDE */]
00002C66 67F8 beq -0x6 /* 00002C60 */
00002C68 5247 addq.w D7, 1
00002C6A 5246 addq.w D6, 1
00002C6C 4EBA 0070 jsr [PC + 0x70 /* 00002CDE */]
00002C70 67EE beq -0x10 /* 00002C60 */
00002C72 5346 subq.w D6, 1
label00002C74:
00002C74 5347 subq.w D7, 1
00002C76 4EBA 0066 jsr [PC + 0x66 /* 00002CDE */]
00002C7A 67F8 beq -0x6 /* 00002C74 */
00002C7C 5247 addq.w D7, 1
00002C7E 5346 subq.w D6, 1
00002C80 4EBA 005C jsr [PC + 0x5C /* 00002CDE */]
00002C84 67EE beq -0x10 /* 00002C74 */
00002C86 5246 addq.w D6, 1
label00002C88:
00002C88 3806 move.w D4, D6
00002C8A 7A01 moveq.l D5, 0x01
label00002C8C:
00002C8C 4EBA 0050 jsr [PC + 0x50 /* 00002CDE */]
00002C90 6606 bne +0x8 /* 00002C98 */
00002C92 5246 addq.w D6, 1
00002C94 5245 addq.w D5, 1
00002C96 60F4 bra -0xA /* 00002C8C */
label00002C98:
00002C98 5346 subq.w D6, 1
00002C9A 5345 subq.w D5, 1
00002C9C 3F04 move.w -[A7], D4
00002C9E 3F07 move.w -[A7], D7
00002CA0 A893 syscall MoveTo
00002CA2 3F06 move.w -[A7], D6
00002CA4 3F07 move.w -[A7], D7
00002CA6 A891 syscall LineTo
00002CA8 3C04 move.w D6, D4
00002CAA 5247 addq.w D7, 1
00002CAC 6130 bsr +0x32 /* 00002CDE */
00002CAE 660E bne +0x10 /* 00002CBE */
00002CB0 6004 bra +0x6 /* 00002CB6 */
label00002CB2:
00002CB2 612A bsr +0x2C /* 00002CDE */
00002CB4 6604 bne +0x6 /* 00002CBA */
label00002CB6:
00002CB6 5346 subq.w D6, 1
00002CB8 60F8 bra -0x6 /* 00002CB2 */
label00002CBA:
00002CBA 5246 addq.w D6, 1
00002CBC 60CA bra -0x34 /* 00002C88 */
label00002CBE:
00002CBE 5345 subq.w D5, 1
00002CC0 670A beq +0xC /* 00002CCC */
label00002CC2:
00002CC2 5246 addq.w D6, 1
00002CC4 6118 bsr +0x1A /* 00002CDE */
00002CC6 67C0 beq -0x3E /* 00002C88 */
00002CC8 5345 subq.w D5, 1
00002CCA 66F6 bne -0x8 /* 00002CC2 */
label00002CCC:
00002CCC 296D F850 0030 move.l [A4 + 0x30], [A5 - 0x7B0]
00002CD2 296D F854 0034 move.l [A4 + 0x34], [A5 - 0x7AC]
00002CD8 285F movea.l A4, [A7]+
00002CDA A853 syscall ShowCursor
00002CDC 4E75 rts
fn00002CDE:
00002CDE 558F subq.l A7, 2
00002CE0 3F06 move.w -[A7], D6
00002CE2 3F07 move.w -[A7], D7
00002CE4 2F2C 0018 move.l -[A7], [A4 + 0x18]
00002CE8 4E92 jsr [A2]
00002CEA 4A17 tst.b [A7]
00002CEC 670E beq +0x10 /* 00002CFC */
00002CEE 3F06 move.w -[A7], D6
00002CF0 3F07 move.w -[A7], D7
00002CF2 4E93 jsr [A3]
00002CF4 101F move.b D0, [A7]+
00002CF6 B02D F7A8 cmp.b D0, [A5 - 0x858]
00002CFA 4E75 rts
label00002CFC:
00002CFC 548F addq.l A7, 2
00002CFE 70FF moveq.l D0, 0xFFFFFFFF
00002D00 4E75 rts
00002D02 2B6D F780 F850 move.l [A5 - 0x7B0], [A5 - 0x880]
00002D08 2B6D F784 F854 move.l [A5 - 0x7AC], [A5 - 0x87C]
00002D0E 265F movea.l A3, [A7]+
00002D10 4A5F tst.w [A7]+
00002D12 6704 beq +0x6 /* 00002D18 */
00002D14 2B5F F854 move.l [A5 - 0x7AC], [A7]+
label00002D18:
00002D18 4A5F tst.w [A7]+
00002D1A 6704 beq +0x6 /* 00002D20 */
00002D1C 2B5F F850 move.l [A5 - 0x7B0], [A7]+
label00002D20:
00002D20 486D F850 pea.l [A5 - 0x7B0]
00002D24 486D F780 pea.l [A5 - 0x880]
// begin alternate branch 00002D26-00002D28
label00002D26:
00002D26 F780 .invalid <<F/6/3>>
// end alternate branch 00002D26-00002D28
label00002D26: // (misaligned)
00002D28 486D F87E pea.l [A5 - 0x782]
00002D2C A8FA syscall MapRect
00002D2E 598F subq.l A7, 4
00002D30 486D F850 pea.l [A5 - 0x7B0]
00002D34 A8F3 syscall OpenPicture
00002D36 2B5F F77C move.l [A5 - 0x884], [A7]+
00002D3A 4ED3 jmp [A3]
00002D3C 422D F81A clr.b [A5 - 0x7E6]
00002D40 4A90 tst.l [A0]
00002D42 6610 bne +0x12 /* 00002D54 */
00002D44 205F movea.l A0, [A7]+
00002D46 4A5F tst.w [A7]+
00002D48 6702 beq +0x4 /* 00002D4C */
00002D4A 588F addq.l A7, 4
label00002D4C:
00002D4C 4A5F tst.w [A7]+
00002D4E 6702 beq +0x4 /* 00002D52 */
00002D50 588F addq.l A7, 4
label00002D52:
00002D52 4ED0 jmp [A0]
label00002D54:
00002D54 2450 movea.l A2, [A0]
00002D56 265F movea.l A3, [A7]+
00002D58 2052 movea.l A0, [A2]
00002D5A 2B68 0002 F850 move.l [A5 - 0x7B0], [A0 + 0x2]
00002D60 2B68 0006 F854 move.l [A5 - 0x7AC], [A0 + 0x6]
00002D66 4A5F tst.w [A7]+
00002D68 6718 beq +0x1A /* 00002D82 */
00002D6A 08ED 0000 F81A bset.b [A5 - 0x7E6], 0x0
00002D70 2B5F F854 move.l [A5 - 0x7AC], [A7]+
00002D74 486D F854 pea.l [A5 - 0x7AC]
00002D78 486D F780 pea.l [A5 - 0x880]
00002D7C 486D F87E pea.l [A5 - 0x782]
00002D80 A8F9 syscall MapPt
label00002D82:
00002D82 4A5F tst.w [A7]+
00002D84 673E beq +0x40 /* 00002DC4 */
00002D86 2B5F F850 move.l [A5 - 0x7B0], [A7]+
00002D8A 486D F850 pea.l [A5 - 0x7B0]
00002D8E 486D F780 pea.l [A5 - 0x880]
00002D92 486D F87E pea.l [A5 - 0x782]
00002D96 A8F9 syscall MapPt
00002D98 082D 0000 F81A btst.b [A5 - 0x7E6], 0x0
00002D9E 6624 bne +0x26 /* 00002DC4 */
00002DA0 204A movea.l A0, A2
00002DA2 2050 movea.l A0, [A0]
00002DA4 3028 0006 move.w D0, [A0 + 0x6]
00002DA8 9068 0002 sub.w D0, [A0 + 0x2]
00002DAC D06D F850 add.w D0, [A5 - 0x7B0]
00002DB0 3B40 F854 move.w [A5 - 0x7AC], D0
00002DB4 3028 0008 move.w D0, [A0 + 0x8]
00002DB8 9068 0004 sub.w D0, [A0 + 0x4]
00002DBC D06D F852 add.w D0, [A5 - 0x7AE]
00002DC0 3B40 F856 move.w [A5 - 0x7AA], D0
label00002DC4:
00002DC4 2F0A move.l -[A7], A2
00002DC6 486D F850 pea.l [A5 - 0x7B0]
00002DCA A8F6 syscall DrawPicture
00002DCC 4ED3 jmp [A3]
00002DCE 2F10 move.l -[A7], [A0]
00002DD0 4290 clr.l [A0]
00002DD2 A8F5 syscall KillPicture
00002DD4 4E75 rts
fn00002DD6:
00002DD6 C5ED F884 muls.w D2, [A5 - 0x77C]
00002DDA 3E2D F786 move.w D7, [A5 - 0x87A]
00002DDE 5247 addq.w D7, 1
00002DE0 85C7 divs.w D2, D7
00002DE2 C3ED F882 muls.w D1, [A5 - 0x77E]
00002DE6 3E2D F784 move.w D7, [A5 - 0x87C]
00002DEA 5247 addq.w D7, 1
00002DEC 83C7 divs.w D1, D7
00002DEE 4E75 rts
00002DF0 4A2D F7A7 tst.b [A5 - 0x859]
00002DF4 6600 00DE bne +0xE0 /* 00002ED4 */
00002DF8 4A2D F7A6 tst.b [A5 - 0x85A]
00002DFC 6700 00D6 beq +0xD8 /* 00002ED4 */
00002E00 61D4 bsr -0x2A /* 00002DD6 */
00002E02 3B42 F794 move.w [A5 - 0x86C], D2
00002E06 3B41 F798 move.w [A5 - 0x868], D1
00002E0A D040 add.w D0, D0
00002E0C 3600 move.w D3, D0
00002E0E C7ED F790 muls.w D3, [A5 - 0x870]
00002E12 C1ED F792 muls.w D0, [A5 - 0x86E]
00002E16 E088 lsr D0, 8
00002E18 E08B lsr D3, 8
00002E1A C141 exg D0, D1
00002E1C C742 exg D3, D2
00002E1E 61B6 bsr -0x48 /* 00002DD6 */
00002E20 3B41 F79A move.w [A5 - 0x866], D1
00002E24 3B42 F796 move.w [A5 - 0x86A], D2
00002E28 5342 subq.w D2, 1
00002E2A 3B6D F794 F78A move.w [A5 - 0x876], [A5 - 0x86C]
00002E30 3B6D F798 F788 move.w [A5 - 0x878], [A5 - 0x868]
00002E36 3F2D F78A move.w -[A7], [A5 - 0x876]
00002E3A 3F2D F788 move.w -[A7], [A5 - 0x878]
00002E3E 3F2D F78A move.w -[A7], [A5 - 0x876]
00002E42 3F2D F788 move.w -[A7], [A5 - 0x878]
00002E46 486D F8FE pea.l [A5 - 0x702]
00002E4A A89A syscall GetPen
00002E4C A893 syscall MoveTo
00002E4E 362D F7A2 move.w D3, [A5 - 0x85E]
00002E52 382D F7A4 move.w D4, [A5 - 0x85C]
00002E56 45FA 0132 lea.l A2, [PC + 0x132 /* 00002F8A, value 0x60D13, cstring "" */]
label00002E5A:
00002E5A 3003 move.w D0, D3
00002E5C 0600 0040 addi.b D0, 0x40 /* '@' */
00002E60 1A00 move.b D5, D0
00002E62 0240 007F andi.w D0, 0x7F
00002E66 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
00002E6A 6506 bcs +0x8 /* 00002E72 */
00002E6C 4400 neg.b D0
00002E6E 0200 007F andi.b D0, 0x7F
label00002E72:
00002E72 1032 0000 move.b D0, [A2 + D0.w]
00002E76 C0ED F796 mulu.w D0, [A5 - 0x86A]
00002E7A E088 lsr D0, 8
00002E7C 4A05 tst.b D5
00002E7E 6A02 bpl +0x4 /* 00002E82 */
00002E80 4440 neg.w D0
label00002E82:
00002E82 D06D F794 add.w D0, [A5 - 0x86C]
00002E86 3F00 move.w -[A7], D0
00002E88 3003 move.w D0, D3
00002E8A 0A00 0080 xori.b D0, 0x80
00002E8E 1A00 move.b D5, D0
00002E90 0240 007F andi.w D0, 0x7F
00002E94 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
00002E98 6506 bcs +0x8 /* 00002EA0 */
00002E9A 4400 neg.b D0
00002E9C 0200 007F andi.b D0, 0x7F
label00002EA0:
00002EA0 1032 0000 move.b D0, [A2 + D0.w]
00002EA4 C0ED F79A mulu.w D0, [A5 - 0x866]
00002EA8 E088 lsr D0, 8
00002EAA 4A05 tst.b D5
00002EAC 6A02 bpl +0x4 /* 00002EB0 */
00002EAE 4440 neg.w D0
label00002EB0:
00002EB0 D06D F798 add.w D0, [A5 - 0x868]
00002EB4 3F00 move.w -[A7], D0
00002EB6 A891 syscall LineTo
00002EB8 5243 addq.w D3, 1
00002EBA 51CC FF9E dbf D4, -0x64 /* 00002E5A */
00002EBE A891 syscall LineTo
00002EC0 3F2D F900 move.w -[A7], [A5 - 0x700]
00002EC4 3F2D F8FE move.w -[A7], [A5 - 0x702]
00002EC8 A893 syscall MoveTo
label00002ECA:
00002ECA 42AD F7A2 clr.l [A5 - 0x85E]
00002ECE 426D F7A6 clr.w [A5 - 0x85A]
00002ED2 4E75 rts
label00002ED4:
00002ED4 613A bsr +0x3C /* 00002F10 */
00002ED6 486D F850 pea.l [A5 - 0x7B0]
00002EDA 4A2D F7A6 tst.b [A5 - 0x85A]
00002EDE 6604 bne +0x6 /* 00002EE4 */
00002EE0 A8B7 syscall FrameOval
00002EE2 4E75 rts
label00002EE4:
00002EE4 322D F7A2 move.w D1, [A5 - 0x85E]
00002EE8 302D F7A4 move.w D0, [A5 - 0x85C]
00002EEC 0641 00C0 addi.w D1, 0xC0
00002EF0 0241 00FF andi.w D1, 0xFF
00002EF4 4401 neg.b D1
00002EF6 9240 sub.w D1, D0
00002EF8 0241 00FF andi.w D1, 0xFF
00002EFC C2FC 0168 mulu.w D1, 0x168
00002F00 E089 lsr D1, 8
00002F02 3F01 move.w -[A7], D1
00002F04 C0FC 0168 mulu.w D0, 0x168
00002F08 E088 lsr D0, 8
00002F0A 3F00 move.w -[A7], D0
00002F0C A8BE syscall FrameArc
00002F0E 60BA bra -0x44 /* 00002ECA */
fn00002F10:
00002F10 48A7 6000 movem.w -[A7], D1,D2
00002F14 D040 add.w D0, D0
00002F16 3600 move.w D3, D0
00002F18 C7ED F790 muls.w D3, [A5 - 0x870]
00002F1C C1ED F792 muls.w D0, [A5 - 0x86E]
00002F20 E088 lsr D0, 8
00002F22 E08B lsr D3, 8
00002F24 9240 sub.w D1, D0
00002F26 9443 sub.w D2, D3
00002F28 3B41 F850 move.w [A5 - 0x7B0], D1
00002F2C 3B42 F852 move.w [A5 - 0x7AE], D2
00002F30 4C9F 0006 movem.w D1,D2, [A7]+
00002F34 D240 add.w D1, D0
00002F36 D443 add.w D2, D3
00002F38 3B41 F854 move.w [A5 - 0x7AC], D1
00002F3C 3B42 F856 move.w [A5 - 0x7AA], D2
00002F40 486D F850 pea.l [A5 - 0x7B0]
00002F44 486D F780 pea.l [A5 - 0x880]
00002F48 486D F87E pea.l [A5 - 0x782]
00002F4C A8FA syscall MapRect
00002F4E 4E75 rts
00002F50 0600 00C0 addi.b D0, 0xC0
fn00002F54:
00002F54 0A00 0080 xori.b D0, 0x80
00002F58 1B40 F7A9 move.b [A5 - 0x857], D0
00002F5C 0240 007F andi.w D0, 0x7F
00002F60 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
00002F64 6506 bcs +0x8 /* 00002F6C */
00002F66 4400 neg.b D0
00002F68 0200 007F andi.b D0, 0x7F
label00002F6C:
00002F6C 41FA 001C lea.l A0, [PC + 0x1C /* 00002F8A, value 0x60D13, cstring "" */]
00002F70 1030 0000 move.b D0, [A0 + D0.w]
00002F74 4E75 rts
00002F76 0600 0040 addi.b D0, 0x40 /* '@' */
00002F7A 0A00 0080 xori.b D0, 0x80
00002F7E 61D4 bsr -0x2A /* 00002F54 */
00002F80 4A2D F7A9 tst.b [A5 - 0x857]
00002F84 6A02 bpl +0x4 /* 00002F88 */
00002F86 4480 neg.l D0
label00002F88:
00002F88 4E75 rts
00002F8A 0006 0D13 ori.b D6, 0x13
00002F8E 191F move.b -[A4], [A7]+
00002F90 252B 3238 move.l -[A2], [A3 + 0x3238]
00002F94 3E44 movea.w A7, D4
00002F96 4A50 tst.w [A0]
00002F98 565C addq.w [A4]+, 3
00002F9A 6267 bhi +0x69 /* 00003003 */
00002F9C 6D73 blt +0x75 /* 00003011 */
00002F9E 787E moveq.l D4, 0x7E
00002FA0 8388 8E93 unpk -[A1], -[A0], 0x8E93
00002FA4 989D sub.l D4, [A5]+
00002FA6 A2A7 syscall vStdExit, flags=2
00002FA8 ABB0 syscall scIndTab16
00002FAA B4B9 BDC1 C5C9 cmp.l D2, [0xBDC1C5C9]
00002FB0 CDD0 muls.w D6, [A0]
00002FB2 D4D7 add.w A2, [A7]
00002FB4 DBDE add.l A5, [A6]+
00002FB6 E1E4 asl .w -[A4]
00002FB8 E7E9 EBEE rol .w [A1 - 0x1412]
00002FBC F0F2 F4F6 .extension 0x0F2 <<F/2-3/0>> // unimplemented
00002FC0 F7F9 .invalid <<F/7/3>>
00002FC2 FAFB FCFD .extension 0xAFB <<F/2-3/5>> // unimplemented
00002FC6 FEFE FFFF .extension 0xEFE <<F/2-3/7>> // unimplemented
00002FCA FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00002FCC 50ED F7A7 st [A5 - 0x859]
00002FD0 50ED F7A6 st [A5 - 0x85A]
00002FD4 0241 00FF andi.w D1, 0xFF
00002FD8 0240 00FF andi.w D0, 0xFF
00002FDC 3B41 F7A2 move.w [A5 - 0x85E], D1
00002FE0 3B40 F7A4 move.w [A5 - 0x85C], D0
00002FE4 4E75 rts
00002FE6 6100 FF28 bsr -0xD6 /* 00002F10 */
00002FEA 486D F850 pea.l [A5 - 0x7B0]
00002FEE 4A2D F7A6 tst.b [A5 - 0x85A]
00002FF2 6606 bne +0x8 /* 00002FFA */
00002FF4 A8B8 syscall PaintOval
00002FF6 6000 FED2 bra -0x12C /* 00002ECA */
label00002FFA:
00002FFA 322D F7A2 move.w D1, [A5 - 0x85E]
00002FFE 302D F7A4 move.w D0, [A5 - 0x85C]
00003002 0641 00C0 addi.w D1, 0xC0
00003006 0241 00FF andi.w D1, 0xFF
0000300A 4401 neg.b D1
0000300C 9240 sub.w D1, D0
0000300E 0241 00FF andi.w D1, 0xFF
00003012 C2FC 0168 mulu.w D1, 0x168
00003016 E089 lsr D1, 8
00003018 3F01 move.w -[A7], D1
0000301A C0FC 0168 mulu.w D0, 0x168
0000301E E088 lsr D0, 8
00003020 3F00 move.w -[A7], D0
00003022 A8BF syscall PaintArc
00003024 6000 FEA4 bra -0x15A /* 00002ECA */
00003028 0A00 0080 xori.b D0, 0x80
0000302C 0A01 0080 xori.b D1, 0x80
00003030 0240 00FF andi.w D0, 0xFF
00003034 0241 00FF andi.w D1, 0xFF
00003038 3B41 F790 move.w [A5 - 0x870], D1
0000303C 3B40 F792 move.w [A5 - 0x86E], D0
00003040 4E75 rts
export_52:
00003042 3B40 F788 move.w [A5 - 0x878], D0
00003046 3B41 F78A move.w [A5 - 0x876], D1
0000304A 486D F788 pea.l [A5 - 0x878]
0000304E 486D F780 pea.l [A5 - 0x880]
00003052 486D F87E pea.l [A5 - 0x782]
00003056 A8F9 syscall MapPt
00003058 486D F8FE pea.l [A5 - 0x702]
0000305C A89A syscall GetPen
0000305E 3F2D F78A move.w -[A7], [A5 - 0x876]
00003062 3F2D F788 move.w -[A7], [A5 - 0x878]
00003066 A893 syscall MoveTo
00003068 3F2D F78A move.w -[A7], [A5 - 0x876]
0000306C 3F2D F788 move.w -[A7], [A5 - 0x878]
00003070 A891 syscall LineTo
00003072 3F2D F900 move.w -[A7], [A5 - 0x700]
00003076 3F2D F8FE move.w -[A7], [A5 - 0x702]
0000307A A893 syscall MoveTo
0000307C 4E75 rts
0000307E 206D FFFC movea.l A0, [A5 - 0x4]
00003082 317C 0056 004A move.w [A0 + 0x4A], 0x56 /* 'V' */
00003088 4268 0044 clr.w [A0 + 0x44]
0000308C A852 syscall HideCursor
0000308E 486D F87E pea.l [A5 - 0x782]
00003092 A8A3 syscall EraseRect
00003094 3F3C 0080 move.w -[A7], 0x80
00003098 3F3C 0087 move.w -[A7], 0x87
0000309C A893 syscall MoveTo
0000309E 487A 0302 pea.l [PC + 0x302 /* 000033A2, value 0x4444156, pstring "DAVE" */]
000030A2 A884 syscall DrawString
000030A4 3F3C 002D move.w -[A7], 0x2D /* '-' */
000030A8 3F3C 00C8 move.w -[A7], 0xC8
000030AC A893 syscall MoveTo
000030AE 487A 01C0 pea.l [PC + 0x1C0 /* 00003270, value 0x74F5645, pstring "OVERTON" */]
000030B2 A884 syscall DrawString
000030B4 42AD F850 clr.l [A5 - 0x7B0]
000030B8 302D F882 move.w D0, [A5 - 0x77E]
000030BC 3600 move.w D3, D0
000030BE E248 lsr D0.w, 1
000030C0 3B40 F854 move.w [A5 - 0x7AC], D0
000030C4 322D F884 move.w D1, [A5 - 0x77C]
000030C8 3401 move.w D2, D1
000030CA E249 lsr D1.w, 1
000030CC 3B41 F856 move.w [A5 - 0x7AA], D1
000030D0 3B40 F760 move.w [A5 - 0x8A0], D0
000030D4 426D F762 clr.w [A5 - 0x89E]
000030D8 3B43 F764 move.w [A5 - 0x89C], D3
000030DC 3B41 F766 move.w [A5 - 0x89A], D1
000030E0 426D F768 clr.w [A5 - 0x898]
000030E4 3B41 F76A move.w [A5 - 0x896], D1
000030E8 3B40 F76C move.w [A5 - 0x894], D0
000030EC 3B42 F76E move.w [A5 - 0x892], D2
000030F0 3B40 F770 move.w [A5 - 0x890], D0
000030F4 3B41 F772 move.w [A5 - 0x88E], D1
000030F8 3B43 F774 move.w [A5 - 0x88C], D3
000030FC 3B42 F776 move.w [A5 - 0x88A], D2
00003100 3E00 move.w D7, D0
00003102 E24F lsr D7.w, 1
00003104 598F subq.l A7, 4
00003106 A8D8 syscall NewRgn
00003108 245F movea.l A2, [A7]+
label0000310A:
0000310A 486D F850 pea.l [A5 - 0x7B0]
0000310E 3F3C FFFD move.w -[A7], 0xFFFD
00003112 3F3C FFFE move.w -[A7], 0xFFFE
00003116 2F0A move.l -[A7], A2
00003118 A8EF syscall ScrollRect
0000311A 486D F760 pea.l [A5 - 0x8A0]
0000311E 3F3C FFFD move.w -[A7], 0xFFFD
00003122 3F3C 0002 move.w -[A7], 0x2
00003126 2F0A move.l -[A7], A2
00003128 A8EF syscall ScrollRect
0000312A 486D F768 pea.l [A5 - 0x898]
0000312E 3F3C 0003 move.w -[A7], 0x3
00003132 3F3C FFFE move.w -[A7], 0xFFFE
00003136 2F0A move.l -[A7], A2
00003138 A8EF syscall ScrollRect
0000313A 486D F770 pea.l [A5 - 0x890]
0000313E 3F3C 0003 move.w -[A7], 0x3
00003142 3F3C 0002 move.w -[A7], 0x2
00003146 2F0A move.l -[A7], A2
00003148 A8EF syscall ScrollRect
0000314A 596D F854 subq.w [A5 - 0x7AC], 4
0000314E 5B6D F856 subq.w [A5 - 0x7AA], 5
00003152 586D F760 addq.w [A5 - 0x8A0], 4
00003156 5B6D F766 subq.w [A5 - 0x89A], 5
0000315A 596D F76C subq.w [A5 - 0x894], 4
0000315E 5A6D F76A addq.w [A5 - 0x896], 5
00003162 586D F770 addq.w [A5 - 0x890], 4
00003166 5A6D F772 addq.w [A5 - 0x88E], 5
0000316A 303C 0064 move.w D0, 0x64 /* 'd' */
0000316E 4EBA D3C8 jsr [PC - 0x2C38 /* 00000538 */]
00003172 0640 0064 addi.w D0, 0x64 /* 'd' */
00003176 3F00 move.w -[A7], D0
00003178 2F3C 0000 004B move.l -[A7], 0x4B /* 'K' */
0000317E 3F3C 00FF move.w -[A7], 0xFF
00003182 4EBA E0A8 jsr [PC - 0x1F58 /* 0000122C */]
00003186 51CF FF82 dbf D7, -0x80 /* 0000310A */
0000318A 3E3C 001D move.w D7, 0x1D
label0000318E:
0000318E 486D F87E pea.l [A5 - 0x782]
00003192 A8A4 syscall InvertRect
00003194 303C 05DC move.w D0, 0x5DC
00003198 4EBA D39E jsr [PC - 0x2C62 /* 00000538 */]
0000319C 0640 01F4 addi.w D0, 0x1F4
000031A0 3F00 move.w -[A7], D0
000031A2 2F3C 0000 0023 move.l -[A7], 0x23 /* '#' */
000031A8 3F3C 00FF move.w -[A7], 0xFF
000031AC 4EBA E07E jsr [PC - 0x1F82 /* 0000122C */]
000031B0 51CF FFDC dbf D7, -0x26 /* 0000318E */
000031B4 2F0A move.l -[A7], A2
000031B6 A8D9 syscall DisposRgn/DisposeRgn
000031B8 A850 syscall InitCursor
000031BA 4EFA 0344 jmp [PC + 0x344 /* 00003500 */]
000031BE 3B40 F78C move.w [A5 - 0x874], D0
000031C2 3B41 F78E move.w [A5 - 0x872], D1
000031C6 486D F78C pea.l [A5 - 0x874]
000031CA 486D F780 pea.l [A5 - 0x880]
000031CE 486D F87E pea.l [A5 - 0x782]
000031D2 A8F9 syscall MapPt
000031D4 486D F8FE pea.l [A5 - 0x702]
000031D8 A89A syscall GetPen
000031DA 3F2D F78A move.w -[A7], [A5 - 0x876]
000031DE 3F2D F788 move.w -[A7], [A5 - 0x878]
000031E2 A893 syscall MoveTo
000031E4 3F2D F78E move.w -[A7], [A5 - 0x872]
000031E8 3F2D F78C move.w -[A7], [A5 - 0x874]
000031EC A891 syscall LineTo
000031EE 2B6D F78C F788 move.l [A5 - 0x878], [A5 - 0x874]
000031F4 3F2D F900 move.w -[A7], [A5 - 0x700]
000031F8 3F2D F8FE move.w -[A7], [A5 - 0x702]
000031FC A893 syscall MoveTo
000031FE 4E75 rts
00003200 6112 bsr +0x14 /* 00003214 */
00003202 486D F850 pea.l [A5 - 0x7B0]
00003206 A8A1 syscall FrameRect
00003208 4E75 rts
export_53:
0000320A 6108 bsr +0xA /* 00003214 */
0000320C 486D F850 pea.l [A5 - 0x7B0]
00003210 A8A2 syscall PaintRect
00003212 4E75 rts
fn00003214:
00003214 3B40 F78C move.w [A5 - 0x874], D0
00003218 3B41 F78E move.w [A5 - 0x872], D1
0000321C 486D F78C pea.l [A5 - 0x874]
00003220 486D F780 pea.l [A5 - 0x880]
00003224 486D F87E pea.l [A5 - 0x782]
00003228 A8F9 syscall MapPt
0000322A 302D F788 move.w D0, [A5 - 0x878]
0000322E 322D F78C move.w D1, [A5 - 0x874]
00003232 B240 cmp.w D1, D0
00003234 6402 bcc +0x4 /* 00003238 */
00003236 C141 exg D0, D1
label00003238:
00003238 3B41 F854 move.w [A5 - 0x7AC], D1
0000323C 3B40 F850 move.w [A5 - 0x7B0], D0
00003240 302D F78A move.w D0, [A5 - 0x876]
00003244 322D F78E move.w D1, [A5 - 0x872]
00003248 B240 cmp.w D1, D0
0000324A 6402 bcc +0x4 /* 0000324E */
0000324C C141 exg D0, D1
label0000324E:
0000324E 3B41 F856 move.w [A5 - 0x7AA], D1
00003252 3B40 F852 move.w [A5 - 0x7AE], D0
00003256 4E75 rts
00003258 3B40 F788 move.w [A5 - 0x878], D0
0000325C 3B41 F78A move.w [A5 - 0x876], D1
00003260 486D F788 pea.l [A5 - 0x878]
00003264 486D F780 pea.l [A5 - 0x880]
00003268 486D F87E pea.l [A5 - 0x782]
0000326C A8F9 syscall MapPt
0000326E 4E75 rts
00003270 074F bchg A7, D3
00003272 5645 addq.w D5, 3
00003274 5254 addq.w [A4], 1
00003276 4F4E chk.w D7, A6
00003278 2448 movea.l A2, A0
0000327A 5888 addq.l A0, 4
0000327C 2B48 FB0E move.l [A5 - 0x4F2], A0
00003280 206D FFFC movea.l A0, [A5 - 0x4]
00003284 4868 0002 pea.l [A0 + 0x2]
00003288 486D FB0E pea.l [A5 - 0x4F2]
0000328C 3B40 F78C move.w [A5 - 0x874], D0
00003290 3B41 F78E move.w [A5 - 0x872], D1
00003294 486D F78C pea.l [A5 - 0x874]
00003298 486D F780 pea.l [A5 - 0x880]
0000329C 486D F87E pea.l [A5 - 0x782]
000032A0 A8F9 syscall MapPt
000032A2 302D F78E move.w D0, [A5 - 0x872]
000032A6 906D F78A sub.w D0, [A5 - 0x876]
000032AA 3B40 FB1A move.w [A5 - 0x4E6], D0
000032AE 5E40 addq.w D0, 7
000032B0 E648 lsr D0.w, 3
000032B2 5240 addq.w D0, 1
000032B4 0240 FFFE andi.w D0, 0xFFFE
000032B8 3B40 FB12 move.w [A5 - 0x4EE], D0
000032BC 42AD FB14 clr.l [A5 - 0x4EC]
000032C0 302D F78C move.w D0, [A5 - 0x874]
000032C4 906D F788 sub.w D0, [A5 - 0x878]
000032C8 3B40 FB18 move.w [A5 - 0x4E8], D0
000032CC 486D F788 pea.l [A5 - 0x878]
000032D0 486D FB14 pea.l [A5 - 0x4EC]
000032D4 3F3C 0000 move.w -[A7], 0x0
000032D8 42A7 clr.l -[A7]
000032DA 202D FB18 move.l D0, [A5 - 0x4E8]
000032DE 4840 swap.w D0
000032E0 2480 move.l [A2], D0
000032E2 A8EC syscall CopyBits
000032E4 4E75 rts
000032E6 245F movea.l A2, [A7]+
000032E8 3E00 move.w D7, D0
000032EA 486D FB0E pea.l [A5 - 0x4F2]
000032EE 2055 movea.l A0, [A5]
000032F0 2050 movea.l A0, [A0]
000032F2 4868 0002 pea.l [A0 + 0x2]
000032F6 206F 0008 movea.l A0, [A7 + 0x8]
000032FA 5888 addq.l A0, 4
000032FC 2B48 FB0E move.l [A5 - 0x4F2], A0
00003300 206F 0008 movea.l A0, [A7 + 0x8]
00003304 3010 move.w D0, [A0]
00003306 5E40 addq.w D0, 7
00003308 E648 lsr D0.w, 3
0000330A 5240 addq.w D0, 1
0000330C 0240 FFFE andi.w D0, 0xFFFE
00003310 3B40 FB12 move.w [A5 - 0x4EE], D0
00003314 42AD F850 clr.l [A5 - 0x7B0]
00003318 2010 move.l D0, [A0]
0000331A 4840 swap.w D0
0000331C 2B40 F854 move.l [A5 - 0x7AC], D0
00003320 486D F850 pea.l [A5 - 0x7B0]
00003324 486D F788 pea.l [A5 - 0x878]
00003328 3F07 move.w -[A7], D7
0000332A 42A7 clr.l -[A7]
0000332C 4A6F 001A tst.w [A7 + 0x1A]
00003330 6716 beq +0x18 /* 00003348 */
00003332 2B6F 001C F78C move.l [A5 - 0x874], [A7 + 0x1C]
00003338 486D F78C pea.l [A5 - 0x874]
0000333C 486D F780 pea.l [A5 - 0x880]
00003340 486D F87E pea.l [A5 - 0x782]
00003344 A8F9 syscall MapPt
00003346 6012 bra +0x14 /* 0000335A */
label00003348:
00003348 2B6D F788 F78C move.l [A5 - 0x874], [A5 - 0x878]
0000334E 3018 move.w D0, [A0]+
00003350 D16D F78E add.w [A5 - 0x872], D0
00003354 3010 move.w D0, [A0]
00003356 D16D F78C add.w [A5 - 0x874], D0
label0000335A:
0000335A A8EC syscall CopyBits
0000335C 588F addq.l A7, 4
0000335E 4A5F tst.w [A7]+
00003360 6702 beq +0x4 /* 00003364 */
00003362 588F addq.l A7, 4
label00003364:
00003364 4ED2 jmp [A2]
00003366 3B41 F900 move.w [A5 - 0x700], D1
0000336A 3B40 F8FE move.w [A5 - 0x702], D0
0000336E 486D F8FE pea.l [A5 - 0x702]
00003372 486D F780 pea.l [A5 - 0x880]
00003376 486D F87E pea.l [A5 - 0x782]
0000337A A8F9 syscall MapPt
0000337C 558F subq.l A7, 2
0000337E 2F2D F8FE move.l -[A7], [A5 - 0x702]
00003382 486D F87E pea.l [A5 - 0x782]
00003386 A8AD syscall PtInRect
00003388 4A17 tst.b [A7]
0000338A 6710 beq +0x12 /* 0000339C */
0000338C 2F2D F8FE move.l -[A7], [A5 - 0x702]
00003390 A865 syscall GetPixel
00003392 7000 moveq.l D0, 0x00
00003394 4A1F tst.b [A7]+
00003396 6702 beq +0x4 /* 0000339A */
00003398 5280 addq.l D0, 1
label0000339A:
0000339A 4E75 rts
label0000339C:
0000339C 548F addq.l A7, 2
0000339E 70FF moveq.l D0, 0xFFFFFFFF
000033A0 4E75 rts
000033A2 0444 4156 subi.w D4, 0x4156 /* 'AV' */
000033A6 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
000033A8 245F movea.l A2, [A7]+
000033AA 301F move.w D0, [A7]+
000033AC 0C40 8000 cmpi.w D0, 0x8000
000033B0 670A beq +0xC /* 000033BC */
000033B2 3B40 F79E move.w [A5 - 0x862], D0
000033B6 6118 bsr +0x1A /* 000033D0 */
000033B8 2F00 move.l -[A7], D0
000033BA A863 syscall BackColor
label000033BC:
000033BC 301F move.w D0, [A7]+
000033BE 0C40 8000 cmpi.w D0, 0x8000
000033C2 670A beq +0xC /* 000033CE */
000033C4 3B40 F79C move.w [A5 - 0x864], D0
000033C8 6106 bsr +0x8 /* 000033D0 */
000033CA 2F00 move.l -[A7], D0
000033CC A862 syscall ForeColor
label000033CE:
000033CE 4ED2 jmp [A2]
fn000033D0:
000033D0 0240 0007 andi.w D0, 0x7
000033D4 E548 lsl D0.w, 2
000033D6 41FA 006A lea.l A0, [PC + 0x6A /* 00003442, value 0x1E, cstring "" */]
000033DA 2030 0000 move.l D0, [A0 + D0.w]
000033DE 4E75 rts
000033E0 61EE bsr -0x10 /* 000033D0 */
000033E2 2F00 move.l -[A7], D0
000033E4 A862 syscall ForeColor
000033E6 486D F87E pea.l [A5 - 0x782]
000033EA A8A2 syscall PaintRect
000033EC 2F2D F79C move.l -[A7], [A5 - 0x864]
000033F0 A862 syscall ForeColor
000033F2 4EFA 0120 jmp [PC + 0x120 /* 00003514 */]
fn000033F6:
000033F6 3F00 move.w -[A7], D0
000033F8 598F subq.l A7, 4
000033FA 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00003400 4267 clr.w -[A7]
00003402 A9A0 syscall GetResource
00003404 2017 move.l D0, [A7]
00003406 6720 beq +0x22 /* 00003428 */
00003408 2040 movea.l A0, D0
0000340A A029 syscall HLock
0000340C 205F movea.l A0, [A7]+
0000340E 2010 move.l D0, [A0]
00003410 0280 00FF FFFF andi.l D0, 0xFFFFFF
00003416 2040 movea.l A0, D0
00003418 3218 move.w D1, [A0]+
0000341A 7000 moveq.l D0, 0x00
0000341C 301F move.w D0, [A7]+
0000341E B240 cmp.w D1, D0
00003420 6308 bls +0xA /* 0000342A */
00003422 E788 lsl D0, 3
00003424 D1C0 add.l A0, D0
00003426 4E75 rts
label00003428:
00003428 5C8F addq.l A7, 6
label0000342A:
0000342A 003C 0001 ori.b ccr, 1
0000342E 4E75 rts
00003430 3B40 F7A0 move.w [A5 - 0x860], D0
00003434 61C0 bsr -0x3E /* 000033F6 */
00003436 6508 bcs +0xA /* 00003440 */
00003438 43ED F7AA lea.l A1, [A5 - 0x856]
0000343C 22D8 move.l [A1]+, [A0]+
0000343E 22D8 move.l [A1]+, [A0]+
label00003440:
00003440 4E75 rts
00003442 0000 001E ori.b D0, 0x1E
00003446 0000 0045 ori.b D0, 0x45 /* 'E' */
0000344A 0000 0155 ori.b D0, 0x55 /* 'U' */
0000344E 0000 0111 ori.b D0, 0x11
00003452 0000 0199 ori.b D0, 0x99
00003456 0000 0089 ori.b D0, 0x89
0000345A 0000 00CD ori.b D0, 0xCD
0000345E 0000 0021 ori.b D0, 0x21 /* '!' */
00003462 4EED 104A jmp [A5 + 0x104A /* export_517 */]
fn00003466:
00003466 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
0000346A 6106 bsr +0x8 /* 00003472 */
0000346C 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003470 4E75 rts
fn00003472:
00003472 3038 0934 move.w D0, [0x00000934 /* CurJTOffset */]
label00003476:
00003476 0C75 4EF9 0002 cmpi.w [A5 + D0.w + 0x2], 0x4EF9
0000347C 671C beq +0x1E /* 0000349A */
0000347E 0C75 3F3C 0002 cmpi.w [A5 + D0.w + 0x2], 0x3F3C /* '?<' */
00003484 6708 beq +0xA /* 0000348E */
00003486 41FA 2906 lea.l A0, [PC + 0x2906 /* 00005D8E, value 0x14536567, pstring "Segment Unload Error" */]
0000348A 4EED 137A jmp [A5 + 0x137A /* export_619 */]
label0000348E:
0000348E B275 0004 cmp.w D1, [A5 + D0.w + 0x4]
00003492 6602 bne +0x4 /* 00003496 */
00003494 4E75 rts
label00003496:
00003496 5040 addq.w D0, 8
00003498 60DC bra -0x22 /* 00003476 */
label0000349A:
0000349A B275 0000 cmp.w D1, [A5 + D0.w]
0000349E 66F6 bne -0x8 /* 00003496 */
000034A0 4875 0002 pea.l [A5 + D0.w + 0x2]
000034A4 A9F1 syscall UnloadSeg
000034A6 4E75 rts
000034A8 2F00 move.l -[A7], D0
000034AA A128 syscall RecoverHandle, flags=1
000034AC 2F08 move.l -[A7], A0
000034AE A025 syscall GetHandleSize
000034B0 4A80 tst.l D0
000034B2 6B22 bmi +0x24 /* 000034D6 */
000034B4 2057 movea.l A0, [A7]
000034B6 D1AF 0004 add.l [A7 + 0x4], D0
000034BA A02A syscall HUnlock
000034BC 205F movea.l A0, [A7]+
000034BE 201F move.l D0, [A7]+
000034C0 2F08 move.l -[A7], A0
000034C2 A024 syscall SetHandleSize
000034C4 6612 bne +0x14 /* 000034D8 */
000034C6 2057 movea.l A0, [A7]
000034C8 A029 syscall HLock
000034CA 205F movea.l A0, [A7]+
000034CC 2F10 move.l -[A7], [A0]
000034CE 4217 clr.b [A7]
000034D0 205F movea.l A0, [A7]+
000034D2 7000 moveq.l D0, 0x00
000034D4 4E75 rts
label000034D6:
000034D6 588F addq.l A7, 4
label000034D8:
000034D8 588F addq.l A7, 4
000034DA 4E75 rts
000034DC 2008 move.l D0, A0
000034DE 0800 0000 btst.b D0, 0x0
000034E2 6614 bne +0x16 /* 000034F8 */
000034E4 A128 syscall RecoverHandle, flags=1
000034E6 2008 move.l D0, A0
000034E8 0800 0000 btst.b D0, 0x0
000034EC 660A bne +0xC /* 000034F8 */
000034EE 2F08 move.l -[A7], A0
000034F0 A02A syscall HUnlock
000034F2 205F movea.l A0, [A7]+
000034F4 A023 syscall DisposHandle/DisposeHandle
000034F6 4E75 rts
label000034F8:
000034F8 487A 292C pea.l [PC + 0x292C /* 00005E26, value 0x16446561, pstring "Dealocating Odd Handle" */]
000034FC ABFF syscall DebugStr
000034FE 4E75 rts
export_27:
fn00003500:
00003500 486D F87E pea.l [A5 - 0x782]
00003504 A8A3 syscall EraseRect
00003506 2F2D F7FA move.l -[A7], [A5 - 0x806]
0000350A A969 syscall DrawControls
0000350C 206D F7FA movea.l A0, [A5 - 0x806]
00003510 4EBA 0BE6 jsr [PC + 0xBE6 /* 000040F8 */]
fn00003514:
00003514 3F3C 0002 move.w -[A7], 0x2
00003518 3F2D F8A2 move.w -[A7], [A5 - 0x75E]
0000351C A893 syscall MoveTo
0000351E 4E75 rts
00003520 6102 bsr +0x4 /* 00003524 */
00003522 6052 bra +0x54 /* 00003576 */
fn00003524:
00003524 206D FFFC movea.l A0, [A5 - 0x4]
00003528 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
0000352E 2B6D F8FE F850 move.l [A5 - 0x7B0], [A5 - 0x702]
00003534 302D F86A move.w D0, [A5 - 0x796]
00003538 916D F850 sub.w [A5 - 0x7B0], D0
0000353C 302D F8FE move.w D0, [A5 - 0x702]
00003540 D06D F86C add.w D0, [A5 - 0x794]
00003544 D06D F870 add.w D0, [A5 - 0x790]
00003548 3B40 F854 move.w [A5 - 0x7AC], D0
0000354C 3B6D F884 F856 move.w [A5 - 0x7AA], [A5 - 0x77C]
00003552 A8DA syscall OpenRgn
00003554 486D F850 pea.l [A5 - 0x7B0]
00003558 A8A1 syscall FrameRect
0000355A 4E75 rts
0000355C 61C6 bsr -0x38 /* 00003524 */
0000355E 3B6D F854 F850 move.w [A5 - 0x7B0], [A5 - 0x7AC]
00003564 2B6D F882 F854 move.l [A5 - 0x7AC], [A5 - 0x77E]
0000356A 3B6D F880 F852 move.w [A5 - 0x7AE], [A5 - 0x780]
00003570 486D F850 pea.l [A5 - 0x7B0]
00003574 A8A1 syscall FrameRect
label00003576:
00003576 598F subq.l A7, 4
00003578 A8D8 syscall NewRgn
0000357A 2457 movea.l A2, [A7]
0000357C A8DB syscall CloseRgn
0000357E 2F0A move.l -[A7], A2
00003580 2F0A move.l -[A7], A2
00003582 A8D4 syscall EraseRgn
00003584 2F2D F7FA move.l -[A7], [A5 - 0x806]
00003588 A969 syscall DrawControls
0000358A 266D F7FA movea.l A3, [A5 - 0x806]
0000358E 7200 moveq.l D1, 0x00
00003590 122B 0099 move.b D1, [A3 + 0x99]
00003594 206D F7EC movea.l A0, [A5 - 0x814]
00003598 E949 lsl D1.w, 4
0000359A 41F0 1004 lea.l A0, [A0 + D1.w + 0x4]
label0000359E:
0000359E 2610 move.l D3, [A0]
000035A0 672A beq +0x2C /* 000035CC */
000035A2 2043 movea.l A0, D3
000035A4 2050 movea.l A0, [A0]
000035A6 2B68 0008 F850 move.l [A5 - 0x7B0], [A0 + 0x8]
000035AC 2B68 000C F854 move.l [A5 - 0x7AC], [A0 + 0xC]
000035B2 2F08 move.l -[A7], A0
000035B4 558F subq.l A7, 2
000035B6 486D F850 pea.l [A5 - 0x7B0]
000035BA 2F0A move.l -[A7], A2
000035BC A8E9 syscall RectInRgn
000035BE 4A1F tst.b [A7]+
000035C0 205F movea.l A0, [A7]+
000035C2 67DA beq -0x24 /* 0000359E */
000035C4 206D F7FA movea.l A0, [A5 - 0x806]
000035C8 4EBA 0B2E jsr [PC + 0xB2E /* 000040F8 */]
label000035CC:
000035CC A8D9 syscall DisposRgn/DisposeRgn
000035CE 2F2D F8FE move.l -[A7], [A5 - 0x702]
000035D2 A893 syscall MoveTo
000035D4 4E75 rts
000035D6 486D F834 pea.l [A5 - 0x7CC]
000035DA A874 syscall GetPort
000035DC 1F2D F7BC move.b -[A7], [A5 - 0x844]
000035E0 422D F7BC clr.b [A5 - 0x844]
000035E4 4EBA 0128 jsr [PC + 0x128 /* 0000370E */]
000035E8 1B5F F7BC move.b [A5 - 0x844], [A7]+
000035EC 245F movea.l A2, [A7]+
000035EE 301F move.w D0, [A7]+
000035F0 6B04 bmi +0x6 /* 000035F6 */
000035F2 1B40 F7BC move.b [A5 - 0x844], D0
label000035F6:
000035F6 4A5F tst.w [A7]+
000035F8 6B04 bmi +0x6 /* 000035FE */
000035FA 422D F7BA clr.b [A5 - 0x846]
label000035FE:
000035FE 301F move.w D0, [A7]+
00003600 6B06 bmi +0x8 /* 00003608 */
00003602 5300 subq.b D0, 1
00003604 1B40 F7BB move.b [A5 - 0x845], D0
label00003608:
00003608 4A2D F7BA tst.b [A5 - 0x846]
0000360C 661A bne +0x1C /* 00003628 */
0000360E 302D F86A move.w D0, [A5 - 0x796]
00003612 D06D F86C add.w D0, [A5 - 0x794]
00003616 D06D F870 add.w D0, [A5 - 0x790]
0000361A 7200 moveq.l D1, 0x00
0000361C 122D F7BC move.b D1, [A5 - 0x844]
00003620 C0C1 mulu.w D0, D1
00003622 4267 clr.w -[A7]
00003624 3F00 move.w -[A7], D0
00003626 A894 syscall Move
label00003628:
00003628 2F2D F834 move.l -[A7], [A5 - 0x7CC]
0000362C A873 syscall SetPort
0000362E 4ED2 jmp [A2]
export_28:
fn00003630:
00003630 72FF moveq.l D1, 0xFFFFFFFF
00003632 206D FFFC movea.l A0, [A5 - 0x4]
00003636 7000 moveq.l D0, 0x00
00003638 1028 0099 move.b D0, [A0 + 0x99]
0000363C E948 lsl D0.w, 4
0000363E 226D F7EC movea.l A1, [A5 - 0x814]
00003642 2271 0008 movea.l A1, [A1 + D0.w + 0x8]
00003646 2251 movea.l A1, [A1]
00003648 245F movea.l A2, [A7]+
0000364A 301F move.w D0, [A7]+
0000364C B041 cmp.w D0, D1
0000364E 670C beq +0xE /* 0000365C */
00003650 3B40 F820 move.w [A5 - 0x7E0], D0
00003654 3140 0048 move.w [A0 + 0x48], D0
00003658 3340 004E move.w [A1 + 0x4E], D0
label0000365C:
0000365C 301F move.w D0, [A7]+
0000365E B041 cmp.w D0, D1
00003660 670E beq +0x10 /* 00003670 */
00003662 E058 ror D0.w, 8
00003664 3B40 F822 move.w [A5 - 0x7DE], D0
00003668 3140 0046 move.w [A0 + 0x46], D0
0000366C 3340 004C move.w [A1 + 0x4C], D0
label00003670:
00003670 301F move.w D0, [A7]+
00003672 B041 cmp.w D0, D1
00003674 670C beq +0xE /* 00003682 */
00003676 3B40 F8A2 move.w [A5 - 0x75E], D0
0000367A 3140 004A move.w [A0 + 0x4A], D0
0000367E 3340 0050 move.w [A1 + 0x50], D0
label00003682:
00003682 301F move.w D0, [A7]+
00003684 B041 cmp.w D0, D1
00003686 670C beq +0xE /* 00003694 */
00003688 3B40 FDAE move.w [A5 - 0x252], D0
0000368C 3140 0044 move.w [A0 + 0x44], D0
00003690 3340 004A move.w [A1 + 0x4A], D0
label00003694:
00003694 486D F86A pea.l [A5 - 0x796]
00003698 A88B syscall GetFontInfo
0000369A 4ED2 jmp [A2]
0000369C 2B5F F834 move.l [A5 - 0x7CC], [A7]+
000036A0 2455 movea.l A2, [A5]
000036A2 2452 movea.l A2, [A2]
000036A4 76FF moveq.l D3, 0xFFFFFFFF
000036A6 301F move.w D0, [A7]+
000036A8 B640 cmp.w D3, D0
000036AA 670C beq +0xE /* 000036B8 */
000036AC 4EBA FD48 jsr [PC - 0x2B8 /* 000033F6 */]
000036B0 2558 003A move.l [A2 + 0x3A], [A0]+
000036B4 2558 003E move.l [A2 + 0x3E], [A0]+
label000036B8:
000036B8 301F move.w D0, [A7]+
000036BA B640 cmp.w D3, D0
000036BC 6704 beq +0x6 /* 000036C2 */
000036BE 3540 0038 move.w [A2 + 0x38], D0
label000036C2:
000036C2 4A5F tst.w [A7]+
000036C4 670A beq +0xC /* 000036D0 */
000036C6 4A5F tst.w [A7]+
000036C8 57C0 seq D0
000036CA 4880 ext.w D0
000036CC 3540 0042 move.w [A2 + 0x42], D0
label000036D0:
000036D0 301F move.w D0, [A7]+
000036D2 B043 cmp.w D0, D3
000036D4 6704 beq +0x6 /* 000036DA */
000036D6 3540 0034 move.w [A2 + 0x34], D0
label000036DA:
000036DA 301F move.w D0, [A7]+
000036DC B640 cmp.w D3, D0
000036DE 6704 beq +0x6 /* 000036E4 */
000036E0 3540 0036 move.w [A2 + 0x36], D0
label000036E4:
000036E4 206D F834 movea.l A0, [A5 - 0x7CC]
000036E8 4ED0 jmp [A0]
label000036EA:
000036EA 7000 moveq.l D0, 0x00
000036EC 4E75 rts
000036EE 4A2D FD87 tst.b [A5 - 0x279]
000036F2 66F6 bne -0x8 /* 000036EA */
000036F4 4AAD FDAA tst.l [A5 - 0x256]
000036F8 67F0 beq -0xE /* 000036EA */
000036FA 206D FDAA movea.l A0, [A5 - 0x256]
000036FE 7000 moveq.l D0, 0x00
00003700 3028 0030 move.w D0, [A0 + 0x30]
00003704 80E8 004A divu.w D0, [A0 + 0x4A]
00003708 5340 subq.w D0, 1
0000370A 48C0 ext.l D0
0000370C 4E75 rts
fn0000370E:
0000370E 1B7C 0080 F84E move.b [A5 - 0x7B2], 0x80
00003714 4A2D FD87 tst.b [A5 - 0x279]
00003718 6600 00B8 bne +0xBA /* 000037D2 */
0000371C 4A2D F6CC tst.b [A5 - 0x934]
00003720 6600 00B0 bne +0xB2 /* 000037D2 */
00003724 4AAD FDAA tst.l [A5 - 0x256]
00003728 6710 beq +0x12 /* 0000373A */
0000372A 2F2D FDAA move.l -[A7], [A5 - 0x256]
0000372E A873 syscall SetPort
00003730 4EBA 00A6 jsr [PC + 0xA6 /* 000037D8 */]
00003734 023C 00FE andi.b ccr, 254
00003738 4E75 rts
fn0000373A:
0000373A 426D F844 clr.w [A5 - 0x7BC]
fn0000373E:
0000373E 598F subq.l A7, 4
00003740 2F2D FDA6 move.l -[A7], [A5 - 0x25A]
00003744 42A7 clr.l -[A7]
00003746 42A7 clr.l -[A7]
00003748 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
0000374C 2B5F FDAA move.l [A5 - 0x256], [A7]+
00003750 6040 bra +0x42 /* 00003792 */
00003752 4A2D FD87 tst.b [A5 - 0x279]
00003756 667A bne +0x7C /* 000037D2 */
00003758 4AAD FDAA tst.l [A5 - 0x256]
0000375C 6602 bne +0x4 /* 00003760 */
0000375E 61DA bsr -0x24 /* 0000373A */
label00003760:
00003760 206D FDA6 movea.l A0, [A5 - 0x25A]
00003764 2050 movea.l A0, [A0]
00003766 0C28 0003 0018 cmpi.b [A0 + 0x18], 0x3
0000376C 6612 bne +0x14 /* 00003780 */
0000376E 2F2D FDAA move.l -[A7], [A5 - 0x256]
00003772 A873 syscall SetPort
00003774 2F38 000A move.l -[A7], [0x0000000A]
00003778 A893 syscall MoveTo
0000377A 4EBA 027E jsr [PC + 0x27E /* 000039FA */]
0000377E 6002 bra +0x4 /* 00003782 */
label00003780:
00003780 6108 bsr +0xA /* 0000378A */
label00003782:
00003782 2F2D F7FA move.l -[A7], [A5 - 0x806]
00003786 A873 syscall SetPort
00003788 4E75 rts
fn0000378A:
0000378A 2F2D FDAA move.l -[A7], [A5 - 0x256]
0000378E 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
label00003792:
00003792 2F2D FDAA move.l -[A7], [A5 - 0x256]
00003796 42A7 clr.l -[A7]
00003798 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
0000379C 613A bsr +0x3C /* 000037D8 */
0000379E 4267 clr.w -[A7]
000037A0 302D F86C move.w D0, [A5 - 0x794]
000037A4 D06D F86A add.w D0, [A5 - 0x796]
000037A8 3F00 move.w -[A7], D0
000037AA A893 syscall MoveTo
000037AC 4A2D F7BC tst.b [A5 - 0x844]
000037B0 671A beq +0x1C /* 000037CC */
000037B2 302D F86A move.w D0, [A5 - 0x796]
000037B6 D06D F86C add.w D0, [A5 - 0x794]
000037BA D06D F870 add.w D0, [A5 - 0x790]
000037BE 7200 moveq.l D1, 0x00
000037C0 122D F7BC move.b D1, [A5 - 0x844]
000037C4 C0C1 mulu.w D0, D1
000037C6 4267 clr.w -[A7]
000037C8 3F00 move.w -[A7], D0
000037CA A894 syscall Move
label000037CC:
000037CC 422D F7BA clr.b [A5 - 0x846]
000037D0 4E75 rts
label000037D2:
000037D2 50ED F6CC st [A5 - 0x934]
000037D6 4E75 rts
fn000037D8:
000037D8 206D FDAA movea.l A0, [A5 - 0x256]
000037DC 316D FDAE 0044 move.w [A0 + 0x44], [A5 - 0x252]
000037E2 316D F8A2 004A move.w [A0 + 0x4A], [A5 - 0x75E]
000037E8 316D F822 0046 move.w [A0 + 0x46], [A5 - 0x7DE]
000037EE 316D F820 0048 move.w [A0 + 0x48], [A5 - 0x7E0]
000037F4 2B68 0010 F87E move.l [A5 - 0x782], [A0 + 0x10]
000037FA 2B68 0014 F882 move.l [A5 - 0x77E], [A0 + 0x14]
00003800 4E75 rts
00003802 4A2D FD87 tst.b [A5 - 0x279]
00003806 66CA bne -0x34 /* 000037D2 */
00003808 4AAD FDAA tst.l [A5 - 0x256]
0000380C 66C4 bne -0x3A /* 000037D2 */
0000380E 426D F844 clr.w [A5 - 0x7BC]
00003812 558F subq.l A7, 2
00003814 2F2D FDA6 move.l -[A7], [A5 - 0x25A]
00003818 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
0000381C 4A1F tst.b [A7]+
0000381E 67B2 beq -0x4C /* 000037D2 */
00003820 6100 FF1C bsr -0xE2 /* 0000373E */
00003824 2F2D F7FA move.l -[A7], [A5 - 0x806]
00003828 A873 syscall SetPort
0000382A 4EBA 1692 jsr [PC + 0x1692 /* 00004EBE */]
0000382E 4E75 rts
00003830 4A2D FD87 tst.b [A5 - 0x279]
00003834 669C bne -0x62 /* 000037D2 */
00003836 4AAD FDAA tst.l [A5 - 0x256]
0000383A 6696 bne -0x68 /* 000037D2 */
0000383C 426D F844 clr.w [A5 - 0x7BC]
00003840 558F subq.l A7, 2
00003842 2F2D FDA6 move.l -[A7], [A5 - 0x25A]
00003846 4EAD 009A jsr [A5 + 0x9A /* export_15 */]
0000384A 548F addq.l A7, 2
0000384C 4E75 rts
fn0000384E:
0000384E 4A2D F84E tst.b [A5 - 0x7B2]
00003852 6B0A bmi +0xC /* 0000385E */
00003854 4A2D FD86 tst.b [A5 - 0x27A]
00003858 6B00 FEB4 bmi -0x14A /* 0000370E */
0000385C 6006 bra +0x8 /* 00003864 */
label0000385E:
0000385E 4A2D FD86 tst.b [A5 - 0x27A]
00003862 6B28 bmi +0x2A /* 0000388C */
label00003864:
00003864 1B6D FD86 F84E move.b [A5 - 0x7B2], [A5 - 0x27A]
fn0000386A:
0000386A 2F2D F7FA move.l -[A7], [A5 - 0x806]
0000386E A873 syscall SetPort
00003870 4EBA 164C jsr [PC + 0x164C /* 00004EBE */]
00003874 316D FDAE 0044 move.w [A0 + 0x44], [A5 - 0x252]
0000387A 316D F8A2 004A move.w [A0 + 0x4A], [A5 - 0x75E]
00003880 316D F822 0046 move.w [A0 + 0x46], [A5 - 0x7DE]
00003886 316D F820 0048 move.w [A0 + 0x48], [A5 - 0x7E0]
label0000388C:
0000388C 4E75 rts
fn0000388E:
0000388E 4AAD FDAA tst.l [A5 - 0x256]
00003892 6754 beq +0x56 /* 000038E8 */
00003894 4A2D FD87 tst.b [A5 - 0x279]
00003898 664E bne +0x50 /* 000038E8 */
0000389A 2F2D FDAA move.l -[A7], [A5 - 0x256]
0000389E A873 syscall SetPort
000038A0 4EBA 0158 jsr [PC + 0x158 /* 000039FA */]
000038A4 2F2D FDAA move.l -[A7], [A5 - 0x256]
000038A8 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
000038AC 2F2D FDAA move.l -[A7], [A5 - 0x256]
000038B0 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
000038B4 206D FDA6 movea.l A0, [A5 - 0x25A]
000038B8 2050 movea.l A0, [A0]
000038BA 4A28 0044 tst.b [A0 + 0x44]
000038BE 6722 beq +0x24 /* 000038E2 */
000038C0 4A78 0944 tst.w [0x00000944 /* PrintErr */]
000038C4 670A beq +0xC /* 000038D0 */
000038C6 61A2 bsr -0x5C /* 0000386A */
000038C8 41FA 24B0 lea.l A0, [PC + 0x24B0 /* 00005D7A, value 0x12507269, pstring "Printer File Error" */]
000038CC 4EED 137A jmp [A5 + 0x137A /* export_619 */]
label000038D0:
000038D0 2F2D FDA6 move.l -[A7], [A5 - 0x25A]
000038D4 42A7 clr.l -[A7]
000038D6 42A7 clr.l -[A7]
000038D8 42A7 clr.l -[A7]
000038DA 486D FB0E pea.l [A5 - 0x4F2]
000038DE 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
label000038E2:
000038E2 6186 bsr -0x78 /* 0000386A */
000038E4 42AD FDAA clr.l [A5 - 0x256]
label000038E8:
000038E8 323C 0003 move.w D1, 0x3
000038EC 6100 FB84 bsr -0x47A /* 00003472 */
000038F0 4E75 rts
fn000038F2:
000038F2 4A80 tst.l D0
000038F4 670C beq +0xE /* 00003902 */
000038F6 5380 subq.l D0, 1
000038F8 6718 beq +0x1A /* 00003912 */
000038FA 302D F848 move.w D0, [A5 - 0x7B8]
000038FE 48C0 ext.l D0
00003900 4E75 rts
fn00003902:
00003902 7000 moveq.l D0, 0x00
00003904 4A2D F84E tst.b [A5 - 0x7B2]
00003908 6608 bne +0xA /* 00003912 */
0000390A 302D F846 move.w D0, [A5 - 0x7BA]
0000390E 48C0 ext.l D0
00003910 4E75 rts
label00003912:
00003912 102D F84E move.b D0, [A5 - 0x7B2]
00003916 0200 007F andi.b D0, 0x7F
0000391A 6708 beq +0xA /* 00003924 */
0000391C 302D F848 move.w D0, [A5 - 0x7B8]
00003920 48C0 ext.l D0
00003922 4E75 rts
label00003924:
00003924 302D F844 move.w D0, [A5 - 0x7BC]
00003928 48C0 ext.l D0
0000392A 4E75 rts
export_40:
fn0000392C:
0000392C 4A2D F84E tst.b [A5 - 0x7B2]
00003930 6700 02B6 beq +0x2B8 /* 00003BE8 */
00003934 6B00 00C4 bmi +0xC6 /* 000039FA */
00003938 700D moveq.l D0, 0x0D
0000393A 4EFA 027C jmp [PC + 0x27C /* 00003BB8 */]
fn0000393E:
0000393E 7020 moveq.l D0, 0x20
fn00003940:
00003940 4A2D F84E tst.b [A5 - 0x7B2]
00003944 6600 004A bne +0x4C /* 00003990 */
00003948 526D F846 addq.w [A5 - 0x7BA], 1
0000394C 0C00 000D cmpi.b D0, 0xD /* '\r' */
00003950 6700 0296 beq +0x298 /* 00003BE8 */
00003954 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003958 0240 00FF andi.w D0, 0xFF
0000395C 3F00 move.w -[A7], D0
0000395E A883 syscall DrawChar
00003960 206D FFFC movea.l A0, [A5 - 0x4]
00003964 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
0000396A 302D F900 move.w D0, [A5 - 0x700]
0000396E D06D F86E add.w D0, [A5 - 0x792]
00003972 B06D F884 cmp.w D0, [A5 - 0x77C]
00003976 6304 bls +0x6 /* 0000397C */
00003978 4EBA 026E jsr [PC + 0x26E /* 00003BE8 */]
label0000397C:
0000397C 302D F846 move.w D0, [A5 - 0x7BA]
00003980 B06D F840 cmp.w D0, [A5 - 0x7C0]
00003984 6504 bcs +0x6 /* 0000398A */
00003986 4EBA 0260 jsr [PC + 0x260 /* 00003BE8 */]
label0000398A:
0000398A 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000398E 4E75 rts
label00003990:
00003990 3F01 move.w -[A7], D1
00003992 122D F84E move.b D1, [A5 - 0x7B2]
00003996 6A00 021E bpl +0x220 /* 00003BB6 */
0000399A 0201 007F andi.b D1, 0x7F
0000399E 6600 00D8 bne +0xDA /* 00003A78 */
000039A2 321F move.w D1, [A7]+
000039A4 4A2D FD87 tst.b [A5 - 0x279]
000039A8 664E bne +0x50 /* 000039F8 */
000039AA 4A2D F6CC tst.b [A5 - 0x934]
000039AE 6648 bne +0x4A /* 000039F8 */
000039B0 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000039B4 526D F844 addq.w [A5 - 0x7BC], 1
000039B8 0240 00FF andi.w D0, 0xFF
000039BC 3F00 move.w -[A7], D0
000039BE A883 syscall DrawChar
000039C0 206D FFFC movea.l A0, [A5 - 0x4]
000039C4 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
000039CA 302D F900 move.w D0, [A5 - 0x700]
000039CE D06D F86E add.w D0, [A5 - 0x792]
000039D2 D06D F86E add.w D0, [A5 - 0x792]
000039D6 206D FDA6 movea.l A0, [A5 - 0x25A]
000039DA 2050 movea.l A0, [A0]
000039DC 41E8 0008 lea.l A0, [A0 + 0x8]
000039E0 B068 0006 cmp.w D0, [A0 + 0x6]
000039E4 6302 bls +0x4 /* 000039E8 */
000039E6 6112 bsr +0x14 /* 000039FA */
label000039E8:
000039E8 302D F844 move.w D0, [A5 - 0x7BC]
000039EC B06D F83E cmp.w D0, [A5 - 0x7C2]
000039F0 6502 bcs +0x4 /* 000039F4 */
000039F2 6106 bsr +0x8 /* 000039FA */
label000039F4:
000039F4 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
label000039F8:
000039F8 4E75 rts
fn000039FA:
000039FA 3F01 move.w -[A7], D1
000039FC 122D F84E move.b D1, [A5 - 0x7B2]
00003A00 0201 007F andi.b D1, 0x7F
00003A04 6600 006E bne +0x70 /* 00003A74 */
00003A08 321F move.w D1, [A7]+
00003A0A 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003A0E 426D F844 clr.w [A5 - 0x7BC]
00003A12 206D FFFC movea.l A0, [A5 - 0x4]
00003A16 3028 0030 move.w D0, [A0 + 0x30]
00003A1A D06D F86C add.w D0, [A5 - 0x794]
00003A1E D06D F86A add.w D0, [A5 - 0x796]
00003A22 D06D F870 add.w D0, [A5 - 0x790]
00003A26 206D FDA6 movea.l A0, [A5 - 0x25A]
00003A2A 2050 movea.l A0, [A0]
00003A2C 41E8 0008 lea.l A0, [A0 + 0x8]
00003A30 B068 0004 cmp.w D0, [A0 + 0x4]
00003A34 6524 bcs +0x26 /* 00003A5A */
label00003A36:
00003A36 6100 FD52 bsr -0x2AC /* 0000378A */
00003A3A 422D F7BA clr.b [A5 - 0x846]
00003A3E 4A2D F7BC tst.b [A5 - 0x844]
00003A42 672A beq +0x2C /* 00003A6E */
00003A44 7000 moveq.l D0, 0x00
00003A46 102D F7BC move.b D0, [A5 - 0x844]
00003A4A 322D F86C move.w D1, [A5 - 0x794]
00003A4E D26D F86A add.w D1, [A5 - 0x796]
00003A52 D26D F870 add.w D1, [A5 - 0x790]
00003A56 C0C1 mulu.w D0, D1
00003A58 600E bra +0x10 /* 00003A68 */
label00003A5A:
00003A5A 522D F7BA addq.b [A5 - 0x846], 1
00003A5E 122D F7BA move.b D1, [A5 - 0x846]
00003A62 B22D F7BB cmp.b D1, [A5 - 0x845]
00003A66 62CE bhi -0x30 /* 00003A36 */
label00003A68:
00003A68 4267 clr.w -[A7]
00003A6A 3F00 move.w -[A7], D0
00003A6C A893 syscall MoveTo
label00003A6E:
00003A6E 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003A72 4E75 rts
label00003A74:
00003A74 103C 000D move.b D0, 0xD /* '\r' */
label00003A78:
00003A78 321F move.w D1, [A7]+
00003A7A 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003A7E 122D F84E move.b D1, [A5 - 0x7B2]
00003A82 4881 ext.w D1
00003A84 4441 neg.w D1
00003A86 E949 lsl D1.w, 4
00003A88 4441 neg.w D1
00003A8A 226D F750 movea.l A1, [A5 - 0x8B0]
00003A8E 43F1 1000 lea.l A1, [A1 + D1.w]
00003A92 4A91 tst.l [A1]
00003A94 6700 DCA0 beq -0x235E /* 00001736 */
00003A98 1229 000C move.b D1, [A1 + 0xC]
00003A9C 5301 subq.b D1, 1
00003A9E 6700 0108 beq +0x10A /* 00003BA8 */
00003AA2 5301 subq.b D1, 1
00003AA4 6700 000E beq +0x10 /* 00003AB4 */
00003AA8 4FEF 0014 lea.l A7, [A7 + 0x14]
00003AAC 4EFA DC94 jmp [PC - 0x236C /* 00001742 */]
fn00003AB0:
00003AB0 103C 000D move.b D0, 0xD /* '\r' */
label00003AB4:
00003AB4 322D F7F8 move.w D1, [A5 - 0x808]
00003AB8 2069 0008 movea.l A0, [A1 + 0x8]
00003ABC 4A2D F759 tst.b [A5 - 0x8A7]
00003AC0 6702 beq +0x4 /* 00003AC4 */
00003AC2 2050 movea.l A0, [A0]
label00003AC4:
00003AC4 0C00 000D cmpi.b D0, 0xD /* '\r' */
00003AC8 6614 bne +0x16 /* 00003ADE */
00003ACA 11BC 0023 1000 move.b [A0 + D1.w], 0x23 /* '#' */
00003AD0 11BC 0023 1001 move.b [A0 + D1.w + 0x1], 0x23 /* '#' */
00003AD6 6120 bsr +0x22 /* 00003AF8 */
00003AD8 426D F7F8 clr.w [A5 - 0x808]
00003ADC 6014 bra +0x16 /* 00003AF2 */
label00003ADE:
00003ADE 1180 1000 move.b [A0 + D1.w], D0
00003AE2 526D F7F8 addq.w [A5 - 0x808], 1
00003AE6 322D F7F8 move.w D1, [A5 - 0x808]
00003AEA B26D F75E cmp.w D1, [A5 - 0x8A2]
00003AEE 6502 bcs +0x4 /* 00003AF2 */
00003AF0 61BE bsr -0x40 /* 00003AB0 */
label00003AF2:
00003AF2 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003AF6 4E75 rts
fn00003AF8:
00003AF8 4A2D F759 tst.b [A5 - 0x8A7]
00003AFC 663E bne +0x40 /* 00003B3C */
00003AFE 2F09 move.l -[A7], A1
00003B00 558F subq.l A7, 2
00003B02 2F11 move.l -[A7], [A1]
00003B04 2F08 move.l -[A7], A0
00003B06 2F01 move.l -[A7], D1
00003B08 7000 moveq.l D0, 0x00
00003B0A A122 syscall NewHandle, flags=1
00003B0C 2348 0004 move.l [A1 + 0x4], A0
00003B10 2F08 move.l -[A7], A0
00003B12 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003B16 301F move.w D0, [A7]+
00003B18 661E bne +0x20 /* 00003B38 */
00003B1A 2257 movea.l A1, [A7]
00003B1C 558F subq.l A7, 2
00003B1E 2F11 move.l -[A7], [A1]
00003B20 2F29 0004 move.l -[A7], [A1 + 0x4]
00003B24 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00003B28 301F move.w D0, [A7]+
00003B2A 6600 000C bne +0xE /* 00003B38 */
00003B2E 225F movea.l A1, [A7]+
00003B30 2069 0004 movea.l A0, [A1 + 0x4]
00003B34 A023 syscall DisposHandle/DisposeHandle
00003B36 4E75 rts
label00003B38:
00003B38 4EFA DC24 jmp [PC - 0x23DC /* 0000175E */]
label00003B3C:
00003B3C 4267 clr.w -[A7]
00003B3E 2F11 move.l -[A7], [A1]
00003B40 2F29 0008 move.l -[A7], [A1 + 0x8]
00003B44 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00003B48 301F move.w D0, [A7]+
00003B4A 66EC bne -0x12 /* 00003B38 */
00003B4C 4E75 rts
export_55:
00003B4E 265F movea.l A3, [A7]+
00003B50 362F 0008 move.w D3, [A7 + 0x8]
00003B54 3B43 F74E move.w [A5 - 0x8B2], D3
00003B58 6A46 bpl +0x48 /* 00003BA0 */
00003B5A 4443 neg.w D3
00003B5C E94B lsl D3.w, 4
00003B5E 4443 neg.w D3
00003B60 246D F750 movea.l A2, [A5 - 0x8B0]
00003B64 45F2 3000 lea.l A2, [A2 + D3.w]
00003B68 4A92 tst.l [A2]
00003B6A 6734 beq +0x36 /* 00003BA0 */
00003B6C 0C2A 0002 000C cmpi.b [A2 + 0xC], 0x2
00003B72 6600 002C bne +0x2E /* 00003BA0 */
00003B76 2452 movea.l A2, [A2]
00003B78 301F move.w D0, [A7]+
00003B7A 2F0A move.l -[A7], A2
00003B7C 3F00 move.w -[A7], D0
00003B7E 4EAD 0032 jsr [A5 + 0x32 /* export_2 */]
00003B82 301F move.w D0, [A7]+
00003B84 321F move.w D1, [A7]+
00003B86 2F0A move.l -[A7], A2
00003B88 3F01 move.w -[A7], D1
00003B8A 1F00 move.b -[A7], D0
00003B8C 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00003B90 301F move.w D0, [A7]+
00003B92 6708 beq +0xA /* 00003B9C */
00003B94 2F0A move.l -[A7], A2
00003B96 3F00 move.w -[A7], D0
00003B98 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
label00003B9C:
00003B9C 544F addq.w A7, 2
00003B9E 4ED3 jmp [A3]
label00003BA0:
00003BA0 5C8F addq.l A7, 6
00003BA2 2E8B move.l [A7], A3
00003BA4 4EFA DB9C jmp [PC - 0x2464 /* 00001742 */]
label00003BA8:
00003BA8 2F03 move.l -[A7], D3
00003BAA 4EBA EB0E jsr [PC - 0x14F2 /* 000026BA */]
00003BAE 261F move.l D3, [A7]+
00003BB0 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003BB4 4E75 rts
fn00003BB6:
00003BB6 321F move.w D1, [A7]+
label00003BB8:
00003BB8 526D F848 addq.w [A5 - 0x7B8], 1
00003BBC 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
00003BC0 0C00 000D cmpi.b D0, 0xD /* '\r' */
00003BC4 6604 bne +0x6 /* 00003BCA */
00003BC6 426D F848 clr.w [A5 - 0x7B8]
label00003BCA:
00003BCA 4EBA EAEE jsr [PC - 0x1512 /* 000026BA */]
00003BCE 302D F848 move.w D0, [A5 - 0x7B8]
00003BD2 B02D F842 cmp.b D0, [A5 - 0x7BE]
00003BD6 630A bls +0xC /* 00003BE2 */
00003BD8 3B7C FFFF F848 move.w [A5 - 0x7B8], 0xFFFF
00003BDE 700D moveq.l D0, 0x0D
00003BE0 61D4 bsr -0x2A /* 00003BB6 */
label00003BE2:
00003BE2 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
00003BE6 4E75 rts
fn00003BE8:
00003BE8 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003BEC 426D F846 clr.w [A5 - 0x7BA]
00003BF0 206D FFFC movea.l A0, [A5 - 0x4]
00003BF4 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00003BFA 3F3C 0002 move.w -[A7], 0x2
00003BFE 302D F8FE move.w D0, [A5 - 0x702]
00003C02 D06D F86C add.w D0, [A5 - 0x794]
00003C06 D06D F86A add.w D0, [A5 - 0x796]
00003C0A D06D F870 add.w D0, [A5 - 0x790]
00003C0E 3F00 move.w -[A7], D0
00003C10 3B40 F8FE move.w [A5 - 0x702], D0
00003C14 A893 syscall MoveTo
00003C16 302D F8FE move.w D0, [A5 - 0x702]
00003C1A B06D F882 cmp.w D0, [A5 - 0x77E]
00003C1E 6352 bls +0x54 /* 00003C72 */
00003C20 4A2D F81B tst.b [A5 - 0x7E5]
00003C24 6706 beq +0x8 /* 00003C2C */
00003C26 6100 F8EC bsr -0x712 /* 00003514 */
00003C2A 6046 bra +0x48 /* 00003C72 */
label00003C2C:
00003C2C 486D F87E pea.l [A5 - 0x782]
00003C30 4267 clr.w -[A7]
00003C32 302D F86C move.w D0, [A5 - 0x794]
00003C36 D06D F86A add.w D0, [A5 - 0x796]
00003C3A D06D F870 add.w D0, [A5 - 0x790]
00003C3E 4440 neg.w D0
00003C40 3F00 move.w -[A7], D0
00003C42 2F2D F872 move.l -[A7], [A5 - 0x78E]
00003C46 A8EF syscall ScrollRect
00003C48 42A7 clr.l -[A7]
00003C4A A878 syscall SetOrigin
00003C4C 3F3C 0002 move.w -[A7], 0x2
00003C50 302D F8FE move.w D0, [A5 - 0x702]
00003C54 906D F86C sub.w D0, [A5 - 0x794]
00003C58 906D F86A sub.w D0, [A5 - 0x796]
00003C5C 906D F870 sub.w D0, [A5 - 0x790]
00003C60 B06D F882 cmp.w D0, [A5 - 0x77E]
00003C64 6508 bcs +0xA /* 00003C6E */
00003C66 302D F882 move.w D0, [A5 - 0x77E]
00003C6A 906D F86C sub.w D0, [A5 - 0x794]
label00003C6E:
00003C6E 3F00 move.w -[A7], D0
00003C70 A893 syscall MoveTo
label00003C72:
00003C72 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003C76 4E75 rts
fn00003C78:
00003C78 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003C7C 1020 move.b D0, -[A0]
00003C7E 4267 clr.w -[A7]
00003C80 3F00 move.w -[A7], D0
00003C82 1E80 move.b [A7], D0
00003C84 A88D syscall CharWidth
00003C86 4457 neg.w [A7]
00003C88 4267 clr.w -[A7]
00003C8A A894 syscall Move
00003C8C 6110 bsr +0x12 /* 00003C9E */
00003C8E 486D F850 pea.l [A5 - 0x7B0]
00003C92 A8A3 syscall EraseRect
00003C94 536D F846 subq.w [A5 - 0x7BA], 1
00003C98 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003C9C 4E75 rts
fn00003C9E:
00003C9E 206D FFFC movea.l A0, [A5 - 0x4]
00003CA2 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00003CA8 302D F8FE move.w D0, [A5 - 0x702]
00003CAC 906D F86A sub.w D0, [A5 - 0x796]
00003CB0 3B40 F850 move.w [A5 - 0x7B0], D0
00003CB4 3B6D F900 F852 move.w [A5 - 0x7AE], [A5 - 0x700]
00003CBA 302D F8FE move.w D0, [A5 - 0x702]
00003CBE D06D F86C add.w D0, [A5 - 0x794]
00003CC2 3B40 F854 move.w [A5 - 0x7AC], D0
00003CC6 302D F900 move.w D0, [A5 - 0x700]
00003CCA D06D F86E add.w D0, [A5 - 0x792]
00003CCE 3B40 F856 move.w [A5 - 0x7AA], D0
00003CD2 4E75 rts
fn00003CD4:
00003CD4 4A2D F757 tst.b [A5 - 0x8A9]
00003CD8 6632 bne +0x34 /* 00003D0C */
00003CDA 08AD 0000 F819 bclr.b [A5 - 0x7E7], 0x0
00003CE0 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
00003CE4 206D FFFC movea.l A0, [A5 - 0x4]
00003CE8 2B68 0030 F7F0 move.l [A5 - 0x810], [A0 + 0x30]
00003CEE 2B68 0030 F7F4 move.l [A5 - 0x80C], [A0 + 0x30]
00003CF4 526D F7F4 addq.w [A5 - 0x80C], 1
00003CF8 302D F86E move.w D0, [A5 - 0x792]
00003CFC D16D F7F6 add.w [A5 - 0x80A], D0
00003D00 302D FD94 move.w D0, [A5 - 0x26C]
00003D04 916D F7F0 sub.w [A5 - 0x810], D0
00003D08 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
label00003D0C:
00003D0C 2F01 move.l -[A7], D1
label00003D0E:
00003D0E 323C 00C8 move.w D1, 0xC8
label00003D12:
00003D12 6148 bsr +0x4A /* 00003D5C */
00003D14 6620 bne +0x22 /* 00003D36 */
00003D16 51C9 FFFA dbf D1, -0x8 /* 00003D12 */
00003D1A 4A2D F757 tst.b [A5 - 0x8A9]
00003D1E 66EE bne -0x10 /* 00003D0E */
00003D20 086D 0000 F819 bchg.b [A5 - 0x7E7], 0x0
00003D26 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
00003D2A 486D F7F0 pea.l [A5 - 0x810]
00003D2E A8A4 syscall InvertRect
00003D30 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00003D34 60D8 bra -0x26 /* 00003D0E */
label00003D36:
00003D36 4A2D F757 tst.b [A5 - 0x8A9]
00003D3A 661C bne +0x1E /* 00003D58 */
00003D3C 082D 0000 F819 btst.b [A5 - 0x7E7], 0x0
00003D42 6714 beq +0x16 /* 00003D58 */
00003D44 08AD 0000 F819 bclr.b [A5 - 0x7E7], 0x0
00003D4A 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003D4E 486D F7F0 pea.l [A5 - 0x810]
00003D52 A8A4 syscall InvertRect
00003D54 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
label00003D58:
00003D58 221F move.l D1, [A7]+
00003D5A 4E75 rts
fn00003D5C:
00003D5C 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
00003D60 558F subq.l A7, 2
00003D62 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00003D66 486D F8EE pea.l [A5 - 0x712]
00003D6A A970 syscall GetNextEvent
00003D6C 4A1F tst.b [A7]+
00003D6E 6706 beq +0x8 /* 00003D76 */
00003D70 7000 moveq.l D0, 0x00
00003D72 102D F8F3 move.b D0, [A5 - 0x70D]
label00003D76:
00003D76 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00003D7A 4E75 rts
00003D7C 4A2D F757 tst.b [A5 - 0x8A9]
00003D80 6632 bne +0x34 /* 00003DB4 */
00003D82 08AD 0000 F819 bclr.b [A5 - 0x7E7], 0x0
00003D88 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
00003D8C 206D FFFC movea.l A0, [A5 - 0x4]
00003D90 2B68 0030 F7F0 move.l [A5 - 0x810], [A0 + 0x30]
00003D96 2B68 0030 F7F4 move.l [A5 - 0x80C], [A0 + 0x30]
00003D9C 526D F7F4 addq.w [A5 - 0x80C], 1
00003DA0 302D F86E move.w D0, [A5 - 0x792]
00003DA4 D16D F7F6 add.w [A5 - 0x80A], D0
00003DA8 302D FD94 move.w D0, [A5 - 0x26C]
00003DAC 916D F7F0 sub.w [A5 - 0x810], D0
00003DB0 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
label00003DB4:
00003DB4 2F01 move.l -[A7], D1
label00003DB6:
00003DB6 323C 00C8 move.w D1, 0xC8
label00003DBA:
00003DBA 614A bsr +0x4C /* 00003E06 */
00003DBC 6622 bne +0x24 /* 00003DE0 */
00003DBE 51C9 FFFA dbf D1, -0x8 /* 00003DBA */
00003DC2 4A2D F757 tst.b [A5 - 0x8A9]
00003DC6 66EE bne -0x10 /* 00003DB6 */
00003DC8 086D 0000 F819 bchg.b [A5 - 0x7E7], 0x0
00003DCE 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
00003DD2 486D F7F0 pea.l [A5 - 0x810]
00003DD6 A8A4 syscall InvertRect
00003DD8 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00003DDC 60D8 bra -0x26 /* 00003DB6 */
fn00003DDE:
00003DDE 2F01 move.l -[A7], D1
label00003DE0:
00003DE0 4A2D F757 tst.b [A5 - 0x8A9]
00003DE4 661C bne +0x1E /* 00003E02 */
00003DE6 082D 0000 F819 btst.b [A5 - 0x7E7], 0x0
00003DEC 6714 beq +0x16 /* 00003E02 */
00003DEE 08AD 0000 F819 bclr.b [A5 - 0x7E7], 0x0
00003DF4 48E7 A0C0 movem.l -[A7], D0,D2,A0,A1
00003DF8 486D F7F0 pea.l [A5 - 0x810]
00003DFC A8A4 syscall InvertRect
00003DFE 4CDF 0305 movem.l D0,D2,A0,A1, [A7]+
label00003E02:
00003E02 221F move.l D1, [A7]+
00003E04 4E75 rts
export_30:
fn00003E06:
00003E06 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
label00003E0A:
00003E0A 082D 0003 F6D5 btst.b [A5 - 0x92B], 0x3
00003E10 670C beq +0xE /* 00003E1E */
00003E12 4A2D F75B tst.b [A5 - 0x8A5]
00003E16 6706 beq +0x8 /* 00003E1E */
00003E18 487A 203B pea.l [PC + 0x203B /* 00005E55, value 0x19436865, pstring "Checking events @ Getevt2" */]
00003E1C ABFF syscall DebugStr
label00003E1E:
00003E1E A9B4 syscall SystemTask
00003E20 558F subq.l A7, 2
00003E22 3F3C FFFF move.w -[A7], 0xFFFF
00003E26 486D F8EE pea.l [A5 - 0x712]
00003E2A A970 syscall GetNextEvent
00003E2C 4A1F tst.b [A7]+
00003E2E 6700 00A2 beq +0xA4 /* 00003ED2 */
00003E32 558F subq.l A7, 2
00003E34 486D F8EE pea.l [A5 - 0x712]
00003E38 A97F syscall IsDialogEvent
00003E3A 4A1F tst.b [A7]+
00003E3C 6766 beq +0x68 /* 00003EA4 */
00003E3E 4A2D F84F tst.b [A5 - 0x7B1]
00003E42 6600 0FEA bne +0xFEC /* 00004E2E */
00003E46 0C6D 0008 F8EE cmpi.w [A5 - 0x712], 0x8
00003E4C 6700 0140 beq +0x142 /* 00003F8E */
00003E50 0C6D 0003 F8EE cmpi.w [A5 - 0x712], 0x3
00003E56 674C beq +0x4E /* 00003EA4 */
00003E58 0C6D 0005 F8EE cmpi.w [A5 - 0x712], 0x5
00003E5E 6744 beq +0x46 /* 00003EA4 */
00003E60 0C6D 0002 F8EE cmpi.w [A5 - 0x712], 0x2
00003E66 6738 beq +0x3A /* 00003EA0 */
00003E68 0C6D 0001 F8EE cmpi.w [A5 - 0x712], 0x1
00003E6E 661A bne +0x1C /* 00003E8A */
00003E70 558F subq.l A7, 2
00003E72 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00003E76 486D F81C pea.l [A5 - 0x7E4]
00003E7A A92C syscall FindWindow
00003E7C 301F move.w D0, [A7]+
00003E7E 222D F81C move.l D1, [A5 - 0x7E4]
00003E82 B2AD F800 cmp.l D1, [A5 - 0x800]
00003E86 6700 049C beq +0x49E /* 00004324 */
label00003E8A:
00003E8A 558F subq.l A7, 2
00003E8C 486D F8EE pea.l [A5 - 0x712]
00003E90 486D F83A pea.l [A5 - 0x7C6]
00003E94 486D F838 pea.l [A5 - 0x7C8]
00003E98 A980 syscall DialogSelect
00003E9A 4A1F tst.b [A7]+
00003E9C 6600 FF6C bne -0x92 /* 00003E0A */
label00003EA0:
00003EA0 426D F8EE clr.w [A5 - 0x712]
label00003EA4:
00003EA4 302D F8EE move.w D0, [A5 - 0x712]
00003EA8 D040 add.w D0, D0
00003EAA 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003EAE 4EFB 0002 jmp [PC + D0.w + 0x2]
00003EB2 0020 0588 ori.b -[A0], 0x88
00003EB6 1E70 038E FF58 movea.b A7, [[ + <<invalid base displacement size>>] + D0 * 2 - 0xA8]
00003EBC 038E bclr A6, D1
00003EBE 0116 btst [A6], D0
00003EC0 0364 bchg -[A4], D1
00003EC2 0DCE .incomplete
00003EC4 FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
00003EC6 FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
00003EC8 FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
00003ECA FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
00003ECC FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
00003ECE FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
00003ED0 FF58 .extension 0xF58 <<F/4-5/7>> // unimplemented
label00003ED2:
00003ED2 4A2D F75B tst.b [A5 - 0x8A5]
00003ED6 6700 043A beq +0x43C /* 00004312 */
00003EDA 082D 0004 F6D5 btst.b [A5 - 0x92B], 0x4
00003EE0 6706 beq +0x8 /* 00003EE8 */
00003EE2 487A 1F8B pea.l [PC + 0x1F8B /* 00005E6F, value 0x124E756C, pstring "Null Runtime Event" */]
00003EE6 ABFF syscall DebugStr
label00003EE8:
00003EE8 206D F7FA movea.l A0, [A5 - 0x806]
00003EEC 7000 moveq.l D0, 0x00
00003EEE 1028 0099 move.b D0, [A0 + 0x99]
00003EF2 E948 lsl D0.w, 4
00003EF4 206D F7EC movea.l A0, [A5 - 0x814]
00003EF8 4AB0 0000 tst.l [A0 + D0.w]
00003EFC 6706 beq +0x8 /* 00003F04 */
00003EFE 2F30 0008 move.l -[A7], [A0 + D0.w + 0x8]
00003F02 A9DA syscall TEIdle
label00003F04:
00003F04 082D 0004 F7EB btst.b [A5 - 0x815], 0x4
00003F0A 6746 beq +0x48 /* 00003F52 */
00003F0C 082D 0004 F7EA btst.b [A5 - 0x816], 0x4
00003F12 6620 bne +0x22 /* 00003F34 */
00003F14 4AAD F7DE tst.l [A5 - 0x822]
00003F18 671A beq +0x1C /* 00003F34 */
00003F1A 7004 moveq.l D0, 0x04
00003F1C 4EBA 1A52 jsr [PC + 0x1A52 /* 00005970 */]
00003F20 6612 bne +0x14 /* 00003F34 */
00003F22 08ED 0004 F7EA bset.b [A5 - 0x816], 0x4
00003F28 206D F7DE movea.l A0, [A5 - 0x822]
00003F2C 4E90 jsr [A0]
00003F2E 08AD 0004 F7EA bclr.b [A5 - 0x816], 0x4
label00003F34:
00003F34 2038 020C move.l D0, [0x0000020C /* Time */]
00003F38 90AD F7E2 sub.l D0, [A5 - 0x81E]
00003F3C B0AD F7E6 cmp.l D0, [A5 - 0x81A]
00003F40 6510 bcs +0x12 /* 00003F52 */
00003F42 2B78 020C F7E2 move.l [A5 - 0x81E], [0x0000020C /* Time */]
00003F48 2238 020C move.l D1, [0x0000020C /* Time */]
00003F4C 7004 moveq.l D0, 0x04
00003F4E 4EBA 18D8 jsr [PC + 0x18D8 /* 00005828 */]
label00003F52:
00003F52 082D 0000 F7EB btst.b [A5 - 0x815], 0x0
00003F58 6700 03B8 beq +0x3BA /* 00004312 */
00003F5C 082D 0000 F7EA btst.b [A5 - 0x816], 0x0
00003F62 6600 03AE bne +0x3B0 /* 00004312 */
00003F66 7001 moveq.l D0, 0x01
00003F68 4EBA 1A06 jsr [PC + 0x1A06 /* 00005970 */]
00003F6C 6600 03A4 bne +0x3A6 /* 00004312 */
00003F70 4AAD F7CE tst.l [A5 - 0x832]
00003F74 6700 C2BC beq -0x3D42 /* 00000232 */
00003F78 08ED 0000 F7EA bset.b [A5 - 0x816], 0x0
00003F7E 206D F7CE movea.l A0, [A5 - 0x832]
00003F82 4E90 jsr [A0]
00003F84 08AD 0000 F7EA bclr.b [A5 - 0x816], 0x0
00003F8A 4EFA 0386 jmp [PC + 0x386 /* 00004312 */]
label00003F8E:
00003F8E 202D F8F0 move.l D0, [A5 - 0x710]
00003F92 B0AD F800 cmp.l D0, [A5 - 0x800]
00003F96 6600 FEF2 bne -0x10C /* 00003E8A */
00003F9A 2F2D F902 move.l -[A7], [A5 - 0x6FE]
00003F9E A873 syscall SetPort
00003FA0 4EBA 0DA6 jsr [PC + 0xDA6 /* 00004D48 */]
00003FA4 2F2D F806 move.l -[A7], [A5 - 0x7FA]
00003FA8 4267 clr.w -[A7]
00003FAA 082D 0000 F8FD btst.b [A5 - 0x703], 0x0
00003FB0 57EF 0001 seq [A7 + 0x1]
00003FB4 A95D syscall HiliteControl
00003FB6 6000 FE52 bra -0x1AC /* 00003E0A */
label00003FBA:
00003FBA 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00003FC0 4267 clr.w -[A7]
00003FC2 A9A0 syscall GetResource
00003FC4 4EFA 0030 jmp [PC + 0x30 /* 00003FF6 */]
00003FC8 082D 0001 F6D5 btst.b [A5 - 0x92B], 0x1
00003FCE 6706 beq +0x8 /* 00003FD6 */
00003FD0 487A 1E3E pea.l [PC + 0x1E3E /* 00005E10, value 0x15557064, pstring "Update Event Occurred" */]
00003FD4 ABFF syscall DebugStr
label00003FD6:
00003FD6 206D F8F0 movea.l A0, [A5 - 0x710]
00003FDA B1ED F508 cmpa.l A0, [A5 - 0xAF8]
00003FDE 6608 bne +0xA /* 00003FE8 */
00003FE0 4EAD 13DA jsr [A5 + 0x13DA /* export_631 */]
00003FE4 6000 FE24 bra -0x1DA /* 00003E0A */
label00003FE8:
00003FE8 B1ED F902 cmpa.l A0, [A5 - 0x6FE]
00003FEC 6600 0052 bne +0x54 /* 00004040 */
00003FF0 6112 bsr +0x14 /* 00004004 */
00003FF2 6000 FE16 bra -0x1E8 /* 00003E0A */
label00003FF6:
00003FF6 A9AD syscall RemoveResource/RmveResource
00003FF8 3F2D FD96 move.w -[A7], [A5 - 0x26A]
00003FFC A999 syscall UpdateResFile
00003FFE 2E6D F84A movea.l A7, [A5 - 0x7B6]
00004002 A9F4 syscall ExitToShell
fn00004004:
00004004 2F08 move.l -[A7], A0
00004006 A922 syscall BeginUpdate
00004008 598F subq.l A7, 4
0000400A 2F0F move.l -[A7], A7
0000400C A874 syscall GetPort
0000400E 2F2D F902 move.l -[A7], [A5 - 0x6FE]
00004012 A873 syscall SetPort
00004014 487A 1D34 pea.l [PC + 0x1D34 /* 00005D4A, value 0x0, cstring "" */]
00004018 A87B syscall ClipRect
0000401A 206D F902 movea.l A0, [A5 - 0x6FE]
0000401E 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00004024 2F2D F902 move.l -[A7], [A5 - 0x6FE]
00004028 A904 syscall DrawGrowIcon
0000402A 486D F87E pea.l [A5 - 0x782]
0000402E A87B syscall ClipRect
00004030 2F2D F8FE move.l -[A7], [A5 - 0x702]
00004034 A893 syscall MoveTo
00004036 2F2D F902 move.l -[A7], [A5 - 0x6FE]
0000403A A923 syscall EndUpdate
0000403C A873 syscall SetPort
0000403E 4E75 rts
label00004040:
00004040 2B48 F828 move.l [A5 - 0x7D8], A0
00004044 7000 moveq.l D0, 0x00
00004046 1028 0099 move.b D0, [A0 + 0x99]
0000404A E948 lsl D0.w, 4
0000404C 206D F7EC movea.l A0, [A5 - 0x814]
00004050 4AB0 0000 tst.l [A0 + D0.w]
00004054 6700 FDB4 beq -0x24A /* 00003E0A */
00004058 598F subq.l A7, 4
0000405A 2F0F move.l -[A7], A7
0000405C A874 syscall GetPort
0000405E 2F2D F828 move.l -[A7], [A5 - 0x7D8]
00004062 A922 syscall BeginUpdate
00004064 2F2D F828 move.l -[A7], [A5 - 0x7D8]
00004068 A873 syscall SetPort
0000406A 487A 1CDE pea.l [PC + 0x1CDE /* 00005D4A, value 0x0, cstring "" */]
0000406E A87B syscall ClipRect
00004070 206D F828 movea.l A0, [A5 - 0x7D8]
00004074 4A28 0098 tst.b [A0 + 0x98]
00004078 6610 bne +0x12 /* 0000408A */
0000407A 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00004080 2F08 move.l -[A7], A0
00004082 A904 syscall DrawGrowIcon
00004084 2F2D F8FE move.l -[A7], [A5 - 0x702]
00004088 A893 syscall MoveTo
label0000408A:
0000408A 2F2D F828 move.l -[A7], [A5 - 0x7D8]
0000408E A969 syscall DrawControls
00004090 266D F828 movea.l A3, [A5 - 0x7D8]
00004094 246B 0018 movea.l A2, [A3 + 0x18]
00004098 7200 moveq.l D1, 0x00
0000409A 122B 0099 move.b D1, [A3 + 0x99]
0000409E 206D F7EC movea.l A0, [A5 - 0x814]
000040A2 E949 lsl D1.w, 4
000040A4 41F0 1004 lea.l A0, [A0 + D1.w + 0x4]
label000040A8:
000040A8 2610 move.l D3, [A0]
000040AA 6726 beq +0x28 /* 000040D2 */
000040AC 2043 movea.l A0, D3
000040AE 2050 movea.l A0, [A0]
000040B0 2B68 0008 F850 move.l [A5 - 0x7B0], [A0 + 0x8]
000040B6 2B68 000C F854 move.l [A5 - 0x7AC], [A0 + 0xC]
000040BC 2F08 move.l -[A7], A0
000040BE 558F subq.l A7, 2
000040C0 486D F850 pea.l [A5 - 0x7B0]
000040C4 2F0A move.l -[A7], A2
000040C6 A8E9 syscall RectInRgn
000040C8 4A1F tst.b [A7]+
000040CA 205F movea.l A0, [A7]+
000040CC 67DA beq -0x24 /* 000040A8 */
000040CE 204B movea.l A0, A3
000040D0 6126 bsr +0x28 /* 000040F8 */
label000040D2:
000040D2 2F2D F828 move.l -[A7], [A5 - 0x7D8]
000040D6 A923 syscall EndUpdate
000040D8 486D F87E pea.l [A5 - 0x782]
000040DC A87B syscall ClipRect
000040DE A873 syscall SetPort
000040E0 223C 0005 0000 move.l D1, 0x50000
000040E6 206D F828 movea.l A0, [A5 - 0x7D8]
000040EA 1228 0099 move.b D1, [A0 + 0x99]
000040EE 7002 moveq.l D0, 0x02
000040F0 4EBA 1702 jsr [PC + 0x1702 /* 000057F4 */]
000040F4 6000 FD14 bra -0x2EA /* 00003E0A */
fn000040F8:
000040F8 7000 moveq.l D0, 0x00
000040FA 1028 0099 move.b D0, [A0 + 0x99]
000040FE 6700 008E beq +0x90 /* 0000418E */
00004102 E948 lsl D0.w, 4
00004104 206D F7EC movea.l A0, [A5 - 0x814]
00004108 47F0 0000 lea.l A3, [A0 + D0.w]
0000410C 2F2B 0008 move.l -[A7], [A3 + 0x8]
00004110 A9D9 syscall TEDeactivate
00004112 206B 0008 movea.l A0, [A3 + 0x8]
00004116 2050 movea.l A0, [A0]
00004118 2B68 0020 F834 move.l [A5 - 0x7CC], [A0 + 0x20]
0000411E 2B68 0010 F760 move.l [A5 - 0x8A0], [A0 + 0x10]
00004124 2B68 0014 F764 move.l [A5 - 0x89C], [A0 + 0x14]
0000412A 41EB 0004 lea.l A0, [A3 + 0x4]
label0000412E:
0000412E 2010 move.l D0, [A0]
00004130 6712 beq +0x14 /* 00004144 */
00004132 2050 movea.l A0, [A0]
00004134 B1EB 000C cmpa.l A0, [A3 + 0xC]
00004138 2050 movea.l A0, [A0]
0000413A 67F2 beq -0xC /* 0000412E */
0000413C 2F08 move.l -[A7], A0
0000413E 6150 bsr +0x52 /* 00004190 */
00004140 205F movea.l A0, [A7]+
00004142 60EA bra -0x14 /* 0000412E */
label00004144:
00004144 4AAB 0004 tst.l [A3 + 0x4]
00004148 6744 beq +0x46 /* 0000418E */
0000414A 206B 000C movea.l A0, [A3 + 0xC]
0000414E 2050 movea.l A0, [A0]
00004150 613E bsr +0x40 /* 00004190 */
00004152 206B 0008 movea.l A0, [A3 + 0x8]
00004156 2050 movea.l A0, [A0]
00004158 216D F834 0020 move.l [A0 + 0x20], [A5 - 0x7CC]
0000415E 216D F760 0010 move.l [A0 + 0x10], [A5 - 0x8A0]
00004164 216D F764 0014 move.l [A0 + 0x14], [A5 - 0x89C]
0000416A 4A2D F75C tst.b [A5 - 0x8A4]
0000416E 6714 beq +0x16 /* 00004184 */
00004170 217C 0000 FFFF 0020 move.l [A0 + 0x20], 0xFFFF
00004178 42A8 0010 clr.l [A0 + 0x10]
0000417C 42A8 0014 clr.l [A0 + 0x14]
00004180 42A8 001C clr.l [A0 + 0x1C]
label00004184:
00004184 2F2B 0008 move.l -[A7], [A3 + 0x8]
00004188 A9D8 syscall TEActivate
0000418A 422D F75C clr.b [A5 - 0x8A4]
label0000418E:
0000418E 4E75 rts
fn00004190:
00004190 246B 0008 movea.l A2, [A3 + 0x8]
00004194 2452 movea.l A2, [A2]
00004196 2568 0012 003E move.l [A2 + 0x3E], [A0 + 0x12]
0000419C 2568 0008 0008 move.l [A2 + 0x8], [A0 + 0x8]
000041A2 2568 000C 000C move.l [A2 + 0xC], [A0 + 0xC]
000041A8 2568 0008 0000 move.l [A2 + 0x0], [A0 + 0x8]
000041AE 2568 000C 0004 move.l [A2 + 0x4], [A0 + 0xC]
000041B4 2B68 0008 F850 move.l [A5 - 0x7B0], [A0 + 0x8]
000041BA 2B68 000C F854 move.l [A5 - 0x7AC], [A0 + 0xC]
000041C0 1028 0007 move.b D0, [A0 + 0x7]
000041C4 4880 ext.w D0
000041C6 3540 003A move.w [A2 + 0x3A], D0
000041CA 2568 0016 0020 move.l [A2 + 0x20], [A0 + 0x16]
000041D0 2F08 move.l -[A7], A0
000041D2 2F2B 0008 move.l -[A7], [A3 + 0x8]
000041D6 A9D0 syscall TECalText
000041D8 2057 movea.l A0, [A7]
000041DA 0C28 0003 0006 cmpi.b [A0 + 0x6], 0x3
000041E0 6410 bcc +0x12 /* 000041F2 */
000041E2 536D F850 subq.w [A5 - 0x7B0], 1
000041E6 536D F852 subq.w [A5 - 0x7AE], 1
000041EA 526D F854 addq.w [A5 - 0x7AC], 1
000041EE 526D F856 addq.w [A5 - 0x7AA], 1
label000041F2:
000041F2 486D F850 pea.l [A5 - 0x7B0]
000041F6 A8A3 syscall EraseRect
000041F8 2057 movea.l A0, [A7]
000041FA 486D F850 pea.l [A5 - 0x7B0]
000041FE 2F2B 0008 move.l -[A7], [A3 + 0x8]
00004202 A9D3 syscall TEUpdate
00004204 205F movea.l A0, [A7]+
00004206 0C28 0003 0006 cmpi.b [A0 + 0x6], 0x3
0000420C 6406 bcc +0x8 /* 00004214 */
0000420E 486D F850 pea.l [A5 - 0x7B0]
00004212 A8A1 syscall FrameRect
label00004214:
00004214 4E75 rts
00004216 202D F8F0 move.l D0, [A5 - 0x710]
0000421A 6A00 FBEE bpl -0x410 /* 00003E0A */
0000421E 3F3C 0002 move.w -[A7], 0x2
00004222 A9E9 syscall Pack2
00004224 558F subq.l A7, 2
00004226 2F3C 0060 0040 move.l -[A7], 0x600040 /* '`\0@' */
0000422C 2F2D F8F0 move.l -[A7], [A5 - 0x710]
00004230 4267 clr.w -[A7]
00004232 A9E9 syscall Pack2
00004234 301F move.w D0, [A7]+
00004236 3F3C 0004 move.w -[A7], 0x4
0000423A A9E9 syscall Pack2
0000423C 6000 FBCC bra -0x432 /* 00003E0A */
00004240 202D F8F0 move.l D0, [A5 - 0x710]
00004244 082D 0000 F8FC btst.b [A5 - 0x704], 0x0
0000424A 6612 bne +0x14 /* 0000425E */
0000424C 4A2D F75B tst.b [A5 - 0x8A5]
00004250 6644 bne +0x46 /* 00004296 */
label00004252:
00004252 0280 0000 00FF andi.l D0, 0xFF
00004258 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
0000425C 4E75 rts
label0000425E:
0000425E 4A2D F75B tst.b [A5 - 0x8A5]
00004262 6608 bne +0xA /* 0000426C */
00004264 0C00 002E cmpi.b D0, 0x2E /* '.' */
00004268 6614 bne +0x16 /* 0000427E */
0000426A 60E6 bra -0x18 /* 00004252 */
label0000426C:
0000426C 0240 00FF andi.w D0, 0xFF
00004270 0C00 002E cmpi.b D0, 0x2E /* '.' */
00004274 6714 beq +0x16 /* 0000428A */
00004276 4A2D F84F tst.b [A5 - 0x7B1]
0000427A 6600 0BB2 bne +0xBB4 /* 00004E2E */
label0000427E:
0000427E 598F subq.l A7, 4
00004280 3F00 move.w -[A7], D0
00004282 1E80 move.b [A7], D0
00004284 A93E syscall MenuKey
00004286 4EFA 023E jmp [PC + 0x23E /* 000044C6 */]
label0000428A:
0000428A 7200 moveq.l D1, 0x00
0000428C 7001 moveq.l D0, 0x01
0000428E 4EBA 1598 jsr [PC + 0x1598 /* 00005828 */]
00004292 6000 FB76 bra -0x488 /* 00003E0A */
label00004296:
00004296 206D F7FA movea.l A0, [A5 - 0x806]
0000429A 7200 moveq.l D1, 0x00
0000429C 1228 0099 move.b D1, [A0 + 0x99]
000042A0 E949 lsl D1.w, 4
000042A2 206D F7EC movea.l A0, [A5 - 0x814]
000042A6 41F0 1000 lea.l A0, [A0 + D1.w]
000042AA 4AA8 000C tst.l [A0 + 0xC]
000042AE 6700 FB5A beq -0x4A4 /* 00003E0A */
000042B2 0240 00FF andi.w D0, 0xFF
000042B6 0C00 0009 cmpi.b D0, 0x9 /* '\t' */
000042BA 6734 beq +0x36 /* 000042F0 */
000042BC 0C00 000D cmpi.b D0, 0xD /* '\r' */
000042C0 660E bne +0x10 /* 000042D0 */
000042C2 2268 000C movea.l A1, [A0 + 0xC]
000042C6 2251 movea.l A1, [A1]
000042C8 0829 0000 0006 btst.b [A1 + 0x6], 0x0
000042CE 660C bne +0xE /* 000042DC */
label000042D0:
000042D0 3F00 move.w -[A7], D0
000042D2 2F28 0008 move.l -[A7], [A0 + 0x8]
000042D6 A9DC syscall TEKey
000042D8 6000 FB30 bra -0x4CE /* 00003E0A */
label000042DC:
000042DC 223C 0006 0000 move.l D1, 0x60000
000042E2 3229 0004 move.w D1, [A1 + 0x4]
label000042E6:
000042E6 7002 moveq.l D0, 0x02
000042E8 4EBA 150A jsr [PC + 0x150A /* 000057F4 */]
000042EC 6000 FB1C bra -0x4E2 /* 00003E0A */
label000042F0:
000042F0 206D F7FA movea.l A0, [A5 - 0x806]
000042F4 7200 moveq.l D1, 0x00
000042F6 1228 0099 move.b D1, [A0 + 0x99]
000042FA E949 lsl D1.w, 4
000042FC 206D F7EC movea.l A0, [A5 - 0x814]
00004300 2070 100C movea.l A0, [A0 + D1.w + 0xC]
00004304 2050 movea.l A0, [A0]
00004306 223C 0007 0000 move.l D1, 0x70000
0000430C 3228 0004 move.w D1, [A0 + 0x4]
00004310 60D4 bra -0x2A /* 000042E6 */
label00004312:
00004312 7000 moveq.l D0, 0x00
00004314 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00004318 4E75 rts
label0000431A:
0000431A 2F2D F6C6 move.l -[A7], [A5 - 0x93A]
0000431E A873 syscall SetPort
00004320 6000 FAE8 bra -0x516 /* 00003E0A */
label00004324:
00004324 486D F6C6 pea.l [A5 - 0x93A]
00004328 A874 syscall GetPort
0000432A 2F2D F800 move.l -[A7], [A5 - 0x800]
0000432E A873 syscall SetPort
00004330 558F subq.l A7, 2
00004332 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004336 2F0F move.l -[A7], A7
00004338 A871 syscall GlobalToLocal
0000433A 2F2D F800 move.l -[A7], [A5 - 0x800]
0000433E 486D F834 pea.l [A5 - 0x7CC]
00004342 A96C syscall FindControl
00004344 301F move.w D0, [A7]+
00004346 67D2 beq -0x2C /* 0000431A */
00004348 222D F834 move.l D1, [A5 - 0x7CC]
0000434C B2AD F806 cmp.l D1, [A5 - 0x7FA]
00004350 66C8 bne -0x36 /* 0000431A */
00004352 0C40 00FE cmpi.w D0, 0xFE
00004356 67C2 beq -0x3C /* 0000431A */
00004358 558F subq.l A7, 2
0000435A 2F2D F806 move.l -[A7], [A5 - 0x7FA]
0000435E 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004362 2F0F move.l -[A7], A7
00004364 A871 syscall GlobalToLocal
00004366 42A7 clr.l -[A7]
00004368 A968 syscall TrackControl
0000436A 301F move.w D0, [A7]+
0000436C 67AC beq -0x52 /* 0000431A */
0000436E 0C40 0081 cmpi.w D0, 0x81
00004372 672E beq +0x30 /* 000043A2 */
00004374 0C40 0014 cmpi.w D0, 0x14
00004378 6722 beq +0x24 /* 0000439C */
0000437A 0C40 0015 cmpi.w D0, 0x15
0000437E 670E beq +0x10 /* 0000438E */
00004380 0C40 0016 cmpi.w D0, 0x16
00004384 670E beq +0x10 /* 00004394 */
00004386 586D F804 addq.w [A5 - 0x7FC], 4
0000438A 5A6D F804 addq.w [A5 - 0x7FC], 5
label0000438E:
0000438E 526D F804 addq.w [A5 - 0x7FC], 1
00004392 601A bra +0x1C /* 000043AE */
label00004394:
00004394 596D F804 subq.w [A5 - 0x7FC], 4
00004398 5B6D F804 subq.w [A5 - 0x7FC], 5
label0000439C:
0000439C 536D F804 subq.w [A5 - 0x7FC], 1
000043A0 600C bra +0xE /* 000043AE */
label000043A2:
000043A2 558F subq.l A7, 2
000043A4 2F2D F806 move.l -[A7], [A5 - 0x7FA]
000043A8 A960 syscall GetControlValue/GetCtlValue
000043AA 3B5F F804 move.w [A5 - 0x7FC], [A7]+
label000043AE:
000043AE 610A bsr +0xC /* 000043BA */
000043B0 2F2D F6C6 move.l -[A7], [A5 - 0x93A]
000043B4 A873 syscall SetPort
000043B6 6000 FA52 bra -0x5AC /* 00003E0A */
fn000043BA:
000043BA 2F2D F806 move.l -[A7], [A5 - 0x7FA]
000043BE 3F2D F804 move.w -[A7], [A5 - 0x7FC]
000043C2 A963 syscall SetControlValue/SetCtlValue
000043C4 558F subq.l A7, 2
000043C6 2F2D F806 move.l -[A7], [A5 - 0x7FA]
000043CA A960 syscall GetControlValue/GetCtlValue
000043CC 7200 moveq.l D1, 0x00
000043CE 321F move.w D1, [A7]+
000043D0 3B41 F804 move.w [A5 - 0x7FC], D1
000043D4 C2ED F816 mulu.w D1, [A5 - 0x7EA]
000043D8 206D F80E movea.l A0, [A5 - 0x7F2]
000043DC 2141 002E move.l [A0 + 0x2E], D1
000043E0 A002 syscall Read
000043E2 2B68 0028 F80A move.l [A5 - 0x7F6], [A0 + 0x28]
000043E8 2F2D F800 move.l -[A7], [A5 - 0x800]
000043EC 3F3C 0002 move.w -[A7], 0x2
000043F0 4EBA 0C5C jsr [PC + 0xC5C /* 0000504E */]
000043F4 4E75 rts
label000043F6:
000043F6 558F subq.l A7, 2
000043F8 2F2D F800 move.l -[A7], [A5 - 0x800]
000043FC 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004400 A91E syscall TrackGoAway
00004402 4A1F tst.b [A7]+
00004404 6700 FA04 beq -0x5FA /* 00003E0A */
00004408 4A6D F7FE tst.w [A5 - 0x802]
0000440C 6A24 bpl +0x26 /* 00004432 */
0000440E 302D F7FE move.w D0, [A5 - 0x802]
00004412 4EBA DFB2 jsr [PC - 0x204E /* 000023C6 */]
00004416 4A2D F84E tst.b [A5 - 0x7B2]
0000441A 6B0C bmi +0xE /* 00004428 */
0000441C 2F2D F7FA move.l -[A7], [A5 - 0x806]
label00004420:
00004420 A873 syscall SetPort
00004422 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00004426 4E75 rts
label00004428:
00004428 2F2D FDAA move.l -[A7], [A5 - 0x256]
0000442C 60F2 bra -0xC /* 00004420 */
0000442E 6000 F9DA bra -0x624 /* 00003E0A */
label00004432:
00004432 4EBA E104 jsr [PC - 0x1EFC /* 00002538 */]
00004436 6000 F9D2 bra -0x62C /* 00003E0A */
0000443A 4267 clr.w -[A7]
0000443C 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004440 486D F834 pea.l [A5 - 0x7CC]
00004444 A92C syscall FindWindow
00004446 301F move.w D0, [A7]+
00004448 D040 add.w D0, D0
0000444A 327B 0006 movea.w A1, [PC + D0.w + 0x6]
0000444E 4EFB 9002 jmp [PC + A1.w + 0x2]
00004452 09D4 .incomplete
00004454 0064 004E ori.w -[A4], 0x4E /* 'N' */
00004458 05C4 .incomplete
0000445A 09FE .incomplete
0000445C 046A 000E 4267 subi.w [A2 + 0x4267], 0xE
00004462 2F2D F834 move.l -[A7], [A5 - 0x7CC]
00004466 2F2D F8F8 move.l -[A7], [A5 - 0x708]
0000446A A91E syscall TrackGoAway
0000446C 301F move.w D0, [A7]+
0000446E 6700 F99A beq -0x664 /* 00003E0A */
00004472 202D F834 move.l D0, [A5 - 0x7CC]
00004476 B0AD F800 cmp.l D0, [A5 - 0x800]
0000447A 6700 FF7A beq -0x84 /* 000043F6 */
0000447E B0AD F902 cmp.l D0, [A5 - 0x6FE]
00004482 6606 bne +0x8 /* 0000448A */
00004484 2F2D F6F0 move.l -[A7], [A5 - 0x910]
00004488 4E75 rts
label0000448A:
0000448A 2040 movea.l A0, D0
0000448C 223C 0004 0000 move.l D1, 0x40000
00004492 1228 0099 move.b D1, [A0 + 0x99]
00004496 7002 moveq.l D0, 0x02
00004498 4EBA 135A jsr [PC + 0x135A /* 000057F4 */]
0000449C 6000 F96C bra -0x692 /* 00003E0A */
000044A0 4A2D F84F tst.b [A5 - 0x7B1]
000044A4 6600 0988 bne +0x98A /* 00004E2E */
000044A8 486D F8EE pea.l [A5 - 0x712]
000044AC 2F2D F834 move.l -[A7], [A5 - 0x7CC]
000044B0 A9B3 syscall SystemClick
000044B2 6000 F956 bra -0x6A8 /* 00003E0A */
000044B6 4A2D F84F tst.b [A5 - 0x7B1]
000044BA 6600 0972 bne +0x974 /* 00004E2E */
000044BE 598F subq.l A7, 4
000044C0 2F2D F8F8 move.l -[A7], [A5 - 0x708]
000044C4 A93D syscall MenuSelect
label000044C6:
000044C6 201F move.l D0, [A7]+
000044C8 4840 swap.w D0
000044CA 4A40 tst.w D0
000044CC 6700 F93C beq -0x6C2 /* 00003E0A */
000044D0 6100 F90C bsr -0x6F2 /* 00003DDE */
000044D4 B06D F6CE cmp.w D0, [A5 - 0x932]
000044D8 6700 01A2 beq +0x1A4 /* 0000467C */
000044DC 0C40 00FF cmpi.w D0, 0xFF
000044E0 6700 0138 beq +0x13A /* 0000461A */
000044E4 0C40 0088 cmpi.w D0, 0x88
000044E8 6700 0244 beq +0x246 /* 0000472E */
000044EC 0C40 0080 cmpi.w D0, 0x80
000044F0 6700 0150 beq +0x152 /* 00004642 */
000044F4 0C40 0081 cmpi.w D0, 0x81
000044F8 6700 0060 beq +0x62 /* 0000455A */
000044FC 0C40 0082 cmpi.w D0, 0x82
00004500 6700 01EE beq +0x1F0 /* 000046F0 */
00004504 0C40 0083 cmpi.w D0, 0x83
00004508 6700 0026 beq +0x28 /* 00004530 */
0000450C 0C40 0084 cmpi.w D0, 0x84
00004510 672E beq +0x30 /* 00004540 */
00004512 0C40 0085 cmpi.w D0, 0x85
00004516 6732 beq +0x34 /* 0000454A */
00004518 082D 0002 F7EB btst.b [A5 - 0x815], 0x2
0000451E 6700 F8EA beq -0x714 /* 00003E0A */
00004522 4840 swap.w D0
00004524 2200 move.l D1, D0
00004526 7003 moveq.l D0, 0x03
00004528 4EBA 12CA jsr [PC + 0x12CA /* 000057F4 */]
0000452C 6000 F8DC bra -0x722 /* 00003E0A */
label00004530:
00004530 4840 swap.w D0
00004532 E548 lsl D0.w, 2
00004534 41FA 0094 lea.l A0, [PC + 0x94 /* 000045CA, value 0x4EED112A */]
00004538 487A EF28 pea.l [PC - 0x10D8 /* 00003462, value 0x4EED104A */]
0000453C 4EF0 0000 jmp [A0 + D0.w]
label00004540:
00004540 4267 clr.w -[A7]
00004542 A938 syscall HiliteMenu
00004544 A937 syscall DrawMenuBar
00004546 6000 F8C2 bra -0x73C /* 00003E0A */
label0000454A:
0000454A 2F00 move.l -[A7], D0
0000454C 4267 clr.w -[A7]
0000454E A938 syscall HiliteMenu
00004550 A937 syscall DrawMenuBar
00004552 201F move.l D0, [A7]+
00004554 43FA 0018 lea.l A1, [PC + 0x18 /* 0000456E, value 0x70004ED1, cstring "p" */]
00004558 6004 bra +0x6 /* 0000455E */
label0000455A:
0000455A 43FA 0036 lea.l A1, [PC + 0x36 /* 00004592, value 0x4EED11A2 */]
label0000455E:
0000455E 4240 clr.w D0
00004560 4840 swap.w D0
00004562 E548 lsl D0.w, 2
00004564 D3C0 add.l A1, D0
00004566 487A EEFA pea.l [PC - 0x1106 /* 00003462, value 0x4EED104A */]
0000456A 41FA 17EF lea.l A0, [PC + 0x17EF /* 00005D5B, value 0xB, cstring "" */]
0000456E 7000 moveq.l D0, 0x00
00004570 4ED1 jmp [A1]
00004572 4EED 1192 jmp [A5 + 0x1192 /* export_558 */]
00004576 4EED 111A jmp [A5 + 0x111A /* export_543 */]
0000457A 4EED 1042 jmp [A5 + 0x1042 /* export_516 */]
0000457E 4EED 11E2 jmp [A5 + 0x11E2 /* export_568 */]
00004582 4EFA 008A jmp [PC + 0x8A /* 0000460E */]
00004586 4EED 10C2 jmp [A5 + 0x10C2 /* export_532 */]
0000458A 4EED 11AA jmp [A5 + 0x11AA /* export_561 */]
0000458E 4EFA 007E jmp [PC + 0x7E /* 0000460E */]
00004592 4EED 11A2 jmp [A5 + 0x11A2 /* export_560 */]
00004596 4EED 1262 jmp [A5 + 0x1262 /* export_584 */]
0000459A 4EED 125A jmp [A5 + 0x125A /* export_583 */]
0000459E 4EFA F86A jmp [PC - 0x796 /* 00003E0A */]
000045A2 4EED 1062 jmp [A5 + 0x1062 /* export_520 */]
000045A6 4EFA F862 jmp [PC - 0x79E /* 00003E0A */]
000045AA 4EED 1232 jmp [A5 + 0x1232 /* export_578 */]
000045AE 4EED 1212 jmp [A5 + 0x1212 /* export_574 */]
000045B2 4EFA F856 jmp [PC - 0x7AA /* 00003E0A */]
000045B6 4EED 10AA jmp [A5 + 0x10AA /* export_529 */]
000045BA 4EFA F84E jmp [PC - 0x7B2 /* 00003E0A */]
000045BE 4EFA 0038 jmp [PC + 0x38 /* 000045F8 */]
000045C2 4EFA F846 jmp [PC - 0x7BA /* 00003E0A */]
000045C6 4EED 1152 jmp [A5 + 0x1152 /* export_550 */]
000045CA 4EED 112A jmp [A5 + 0x112A /* export_545 */]
000045CE 4EFA 000E jmp [PC + 0xE /* 000045DE */]
000045D2 4EFA 0018 jmp [PC + 0x18 /* 000045EC */]
000045D6 4EFA 001A jmp [PC + 0x1A /* 000045F2 */]
000045DA 4EFA 0032 jmp [PC + 0x32 /* 0000460E */]
label000045DE:
000045DE 4EAD 1302 jsr [A5 + 0x1302 /* export_604 */]
label000045E2:
000045E2 323C 000A move.w D1, 0xA /* '\n' */
000045E6 4EBA EE8A jsr [PC - 0x1176 /* 00003472 */]
000045EA 4E75 rts
label000045EC:
000045EC 4EAD 130A jsr [A5 + 0x130A /* export_605 */]
000045F0 60F0 bra -0xE /* 000045E2 */
label000045F2:
000045F2 4EAD 12FA jsr [A5 + 0x12FA /* export_603 */]
000045F6 60EA bra -0x14 /* 000045E2 */
label000045F8:
000045F8 558F subq.l A7, 2
000045FA 2F2D FDA6 move.l -[A7], [A5 - 0x25A]
000045FE 4EAD 009A jsr [A5 + 0x9A /* export_15 */]
00004602 323C 0003 move.w D1, 0x3
00004606 6100 EE6A bsr -0x1194 /* 00003472 */
0000460A 4EED 1122 jmp [A5 + 0x1122 /* export_544 */]
label0000460E:
0000460E 4267 clr.w -[A7]
00004610 A938 syscall HiliteMenu
00004612 A937 syscall DrawMenuBar
00004614 588F addq.l A7, 4
00004616 6000 F7F2 bra -0x80C /* 00003E0A */
label0000461A:
0000461A 4840 swap.w D0
0000461C 4A2D F7BD tst.b [A5 - 0x843]
00004620 671A beq +0x1C /* 0000463C */
00004622 0C40 0002 cmpi.w D0, 0x2
00004626 6214 bhi +0x16 /* 0000463C */
00004628 223C 00FF 0001 move.l D1, 0xFF0001
0000462E 7003 moveq.l D0, 0x03
00004630 4EBA 11C2 jsr [PC + 0x11C2 /* 000057F4 */]
00004634 4267 clr.w -[A7]
00004636 A938 syscall HiliteMenu
00004638 6000 F7D0 bra -0x82E /* 00003E0A */
label0000463C:
0000463C 2F2D FDB4 move.l -[A7], [A5 - 0x24C]
00004640 6010 bra +0x12 /* 00004652 */
label00004642:
00004642 4840 swap.w D0
00004644 0C40 0002 cmpi.w D0, 0x2
00004648 6204 bhi +0x6 /* 0000464E */
0000464A 4EED 105A jmp [A5 + 0x105A /* export_519 */]
label0000464E:
0000464E 2F2D F886 move.l -[A7], [A5 - 0x77A]
label00004652:
00004652 3F00 move.w -[A7], D0
00004654 486D FB0E pea.l [A5 - 0x4F2]
00004658 A946 syscall GetMenuItemText/GetItem
0000465A 486D F834 pea.l [A5 - 0x7CC]
0000465E A874 syscall GetPort
00004660 4267 clr.w -[A7]
00004662 A938 syscall HiliteMenu
00004664 A937 syscall DrawMenuBar
00004666 4267 clr.w -[A7]
00004668 486D FB0E pea.l [A5 - 0x4F2]
0000466C A9B6 syscall OpenDeskAcc
0000466E 548F addq.l A7, 2
00004670 2F2D F834 move.l -[A7], [A5 - 0x7CC]
00004674 A873 syscall SetPort
00004676 A937 syscall DrawMenuBar
00004678 6000 F790 bra -0x86E /* 00003E0A */
label0000467C:
0000467C 4840 swap.w D0
0000467E 0C40 0007 cmpi.w D0, 0x7
00004682 6400 F786 bcc -0x878 /* 00003E0A */
00004686 5340 subq.w D0, 1
00004688 3F00 move.w -[A7], D0
0000468A 558F subq.l A7, 2
0000468C 3F00 move.w -[A7], D0
0000468E A9C2 syscall SysEdit
00004690 4A1F tst.b [A7]+
00004692 6616 bne +0x18 /* 000046AA */
00004694 301F move.w D0, [A7]+
00004696 D040 add.w D0, D0
00004698 327B 0014 movea.w A1, [PC + D0.w + 0x14]
0000469C 4EBB 9010 jsr [PC + A1.w + 0x10]
000046A0 4267 clr.w -[A7]
label000046A2:
000046A2 A938 syscall HiliteMenu
000046A4 A937 syscall DrawMenuBar
000046A6 6000 F762 bra -0x89C /* 00003E0A */
label000046AA:
000046AA 4257 clr.w [A7]
000046AC 60F4 bra -0xA /* 000046A2 */
000046AE FF60 .extension 0xF60 <<F/4-5/7>> // unimplemented
000046B0 FF60 .extension 0xF60 <<F/4-5/7>> // unimplemented
000046B2 000C 0014 ori.b A4, 0x14
000046B6 0032 003A 610E 2F08 ori.b [[A2 + <<invalid base displacement size>>] + D6 + 0x2F08], 0x3A /* ':' */
000046BE A9D6 syscall TECut
000046C0 4E75 rts
000046C2 6106 bsr +0x8 /* 000046CA */
000046C4 2F08 move.l -[A7], A0
000046C6 A9D5 syscall TECopy
000046C8 4E75 rts
fn000046CA:
000046CA 206D F7FA movea.l A0, [A5 - 0x806]
000046CE 7000 moveq.l D0, 0x00
000046D0 1028 0099 move.b D0, [A0 + 0x99]
000046D4 206D F7EC movea.l A0, [A5 - 0x814]
000046D8 E948 lsl D0.w, 4
000046DA 2070 0008 movea.l A0, [A0 + D0.w + 0x8]
000046DE 4E75 rts
000046E0 61E8 bsr -0x16 /* 000046CA */
000046E2 2F08 move.l -[A7], A0
000046E4 A9DB syscall TEPaste
000046E6 4E75 rts
000046E8 61E0 bsr -0x1E /* 000046CA */
000046EA 2F08 move.l -[A7], A0
000046EC A9D7 syscall TEDelete
000046EE 4E75 rts
label000046F0:
000046F0 4840 swap.w D0
000046F2 0C40 0005 cmpi.w D0, 0x5
000046F6 620C bhi +0xE /* 00004704 */
000046F8 5340 subq.w D0, 1
000046FA 558F subq.l A7, 2
000046FC 3F00 move.w -[A7], D0
000046FE A9C2 syscall SysEdit
00004700 548F addq.l A7, 2
00004702 600E bra +0x10 /* 00004712 */
label00004704:
00004704 5F40 subq.w D0, 7
00004706 650A bcs +0xC /* 00004712 */
00004708 E548 lsl D0.w, 2
0000470A 41FA 000E lea.l A0, [PC + 0xE /* 0000471A, value 0x4EED13D2 */]
0000470E 4EB0 0000 jsr [A0 + D0.w]
label00004712:
00004712 4267 clr.w -[A7]
00004714 A938 syscall HiliteMenu
00004716 6000 F6F2 bra -0x90C /* 00003E0A */
0000471A 4EED 13D2 jmp [A5 + 0x13D2 /* export_630 */]
0000471E 4EFA FEEE jmp [PC - 0x112 /* 0000460E */]
00004722 4EED 13C2 jmp [A5 + 0x13C2 /* export_628 */]
00004726 4EFA FEE6 jmp [PC - 0x11A /* 0000460E */]
0000472A 4EED 1172 jmp [A5 + 0x1172 /* export_554 */]
label0000472E:
0000472E 4840 swap.w D0
00004730 D040 add.w D0, D0
00004732 327B 000E movea.w A1, [PC + D0.w + 0xE]
00004736 4EBB 900C jsr [PC + A1.w + 0xC]
0000473A 4267 clr.w -[A7]
0000473C A938 syscall HiliteMenu
0000473E A937 syscall DrawMenuBar
00004740 6000 F6C8 bra -0x936 /* 00003E0A */
00004744 0040 00B8 ori.w D0, 0xB8
00004748 00C8 .incomplete
0000474A 00D8 .incomplete
0000474C 00EC .incomplete
0000474E 0030 0028 00FC ori.b [A0 + D0.w - 0x4], 0x28 /* '(' */
00004754 010C btst A4, D0
00004756 011C btst [A4]+, D0
00004758 012C 013C btst [A4 + 0x13C], D0
0000475C 014C bchg A4, D0
0000475E 015C bchg [A4]+, D0
00004760 0078 0088 0098 ori.w [0x00000098], 0x88
00004766 00A8 0066 0054 A11D ori.l [A0 - 0x5EE3], 0x660054 /* 'f\0T' */
0000476E D088 add.l D0, A0
00004770 FFFF .invalid <<F/7/7>>
00004772 4E75 rts
00004774 206D FEE8 movea.l A0, [A5 - 0x118]
00004778 226D FEEC movea.l A1, [A5 - 0x114]
0000477C 45ED FEC4 lea.l A2, [A5 - 0x13C]
00004780 FFFF .invalid <<F/7/7>>
00004782 4E75 rts
00004784 206D F626 movea.l A0, [A5 - 0x9DA]
00004788 202D F60A move.l D0, [A5 - 0x9F6]
0000478C 222D F60E move.l D1, [A5 - 0x9F2]
00004790 342D F86E move.w D2, [A5 - 0x792]
00004794 FFFF .invalid <<F/7/7>>
00004796 4E75 rts
00004798 2F2D F89E move.l -[A7], [A5 - 0x762]
0000479C 3F3C 0014 move.w -[A7], 0x14
000047A0 086D 0004 F6D6 bchg.b [A5 - 0x92A], 0x4
000047A6 4EFA 0082 jmp [PC + 0x82 /* 0000482A */]
000047AA 2F2D F89E move.l -[A7], [A5 - 0x762]
000047AE 3F3C 0013 move.w -[A7], 0x13
000047B2 086D 0003 F6D6 bchg.b [A5 - 0x92A], 0x3
000047B8 4EFA 0070 jmp [PC + 0x70 /* 0000482A */]
000047BC 2F2D F89E move.l -[A7], [A5 - 0x762]
000047C0 3F3C 000F move.w -[A7], 0xF
000047C4 086D 0007 F6D5 bchg.b [A5 - 0x92B], 0x7
000047CA 605E bra +0x60 /* 0000482A */
000047CC 2F2D F89E move.l -[A7], [A5 - 0x762]
000047D0 3F3C 0010 move.w -[A7], 0x10
000047D4 086D 0000 F6D6 bchg.b [A5 - 0x92A], 0x0
000047DA 604E bra +0x50 /* 0000482A */
000047DC 2F2D F89E move.l -[A7], [A5 - 0x762]
000047E0 3F3C 0011 move.w -[A7], 0x11
000047E4 086D 0001 F6D6 bchg.b [A5 - 0x92A], 0x1
000047EA 603E bra +0x40 /* 0000482A */
000047EC 2F2D F89E move.l -[A7], [A5 - 0x762]
000047F0 3F3C 0012 move.w -[A7], 0x12
000047F4 086D 0002 F6D6 bchg.b [A5 - 0x92A], 0x2
000047FA 602E bra +0x30 /* 0000482A */
000047FC 2F2D F89E move.l -[A7], [A5 - 0x762]
00004800 3F3C 0002 move.w -[A7], 0x2
00004804 086D 0000 F6D4 bchg.b [A5 - 0x92C], 0x0
0000480A 601E bra +0x20 /* 0000482A */
0000480C 2F2D F89E move.l -[A7], [A5 - 0x762]
00004810 3F3C 0003 move.w -[A7], 0x3
00004814 086D 0001 F6D4 bchg.b [A5 - 0x92C], 0x1
0000481A 600E bra +0x10 /* 0000482A */
0000481C 2F2D F89E move.l -[A7], [A5 - 0x762]
00004820 3F3C 0004 move.w -[A7], 0x4
00004824 086D 0002 F6D4 bchg.b [A5 - 0x92C], 0x2
label0000482A:
0000482A 57E7 seq -[A7]
0000482C A945 syscall CheckItem
0000482E 4E75 rts
00004830 2F2D F89E move.l -[A7], [A5 - 0x762]
00004834 3F3C 0005 move.w -[A7], 0x5
00004838 086D 0003 F6D4 bchg.b [A5 - 0x92C], 0x3
0000483E 60EA bra -0x14 /* 0000482A */
00004840 2F2D F89E move.l -[A7], [A5 - 0x762]
00004844 3F3C 0008 move.w -[A7], 0x8
00004848 086D 0001 F6D5 bchg.b [A5 - 0x92B], 0x1
0000484E 60DA bra -0x24 /* 0000482A */
00004850 2F2D F89E move.l -[A7], [A5 - 0x762]
00004854 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00004858 086D 0000 F6D5 bchg.b [A5 - 0x92B], 0x0
0000485E 60CA bra -0x34 /* 0000482A */
00004860 2F2D F89E move.l -[A7], [A5 - 0x762]
00004864 3F3C 000A move.w -[A7], 0xA /* '\n' */
00004868 086D 0002 F6D5 bchg.b [A5 - 0x92B], 0x2
0000486E 60BA bra -0x44 /* 0000482A */
00004870 2F2D F89E move.l -[A7], [A5 - 0x762]
00004874 3F3C 000B move.w -[A7], 0xB
00004878 086D 0003 F6D5 bchg.b [A5 - 0x92B], 0x3
0000487E 60AA bra -0x54 /* 0000482A */
00004880 2F2D F89E move.l -[A7], [A5 - 0x762]
00004884 3F3C 000C move.w -[A7], 0xC
00004888 086D 0004 F6D5 bchg.b [A5 - 0x92B], 0x4
0000488E 609A bra -0x64 /* 0000482A */
00004890 2F2D F89E move.l -[A7], [A5 - 0x762]
00004894 3F3C 000D move.w -[A7], 0xD /* '\r' */
00004898 086D 0005 F6D5 bchg.b [A5 - 0x92B], 0x5
0000489E 608A bra -0x74 /* 0000482A */
000048A0 2F2D F89E move.l -[A7], [A5 - 0x762]
000048A4 3F3C 000E move.w -[A7], 0xE
000048A8 086D 0006 F6D5 bchg.b [A5 - 0x92B], 0x6
000048AE 6000 FF7A bra -0x84 /* 0000482A */
label000048B2:
000048B2 2F2D F828 move.l -[A7], [A5 - 0x7D8]
000048B6 A873 syscall SetPort
000048B8 6000 F550 bra -0xAAE /* 00003E0A */
000048BC 486D F828 pea.l [A5 - 0x7D8]
000048C0 A874 syscall GetPort
000048C2 2F2D F834 move.l -[A7], [A5 - 0x7CC]
000048C6 A873 syscall SetPort
000048C8 487A 1480 pea.l [PC + 0x1480 /* 00005D4A, value 0x0, cstring "" */]
000048CC A87B syscall ClipRect
000048CE 598F subq.l A7, 4
000048D0 2F2D F834 move.l -[A7], [A5 - 0x7CC]
000048D4 2F2D F8F8 move.l -[A7], [A5 - 0x708]
000048D8 487A 1460 pea.l [PC + 0x1460 /* 00005D3A, value 0x640064 'd\0d', cstring "" */]
000048DC A92B syscall GrowWindow
000048DE 201F move.l D0, [A7]+
000048E0 67D0 beq -0x2E /* 000048B2 */
000048E2 2F00 move.l -[A7], D0
000048E4 6168 bsr +0x6A /* 0000494E */
000048E6 2F17 move.l -[A7], [A7]
000048E8 2F6D F834 0004 move.l [A7 + 0x4], [A5 - 0x7CC]
000048EE 1F3C 00FF move.b -[A7], 0xFF
000048F2 A91D syscall SizeWindow
000048F4 6158 bsr +0x5A /* 0000494E */
000048F6 4EBA 05C6 jsr [PC + 0x5C6 /* 00004EBE */]
000048FA 206D FFFC movea.l A0, [A5 - 0x4]
000048FE 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00004904 302D F8FE move.w D0, [A5 - 0x702]
00004908 B06D F882 cmp.w D0, [A5 - 0x77E]
0000490C 6506 bcs +0x8 /* 00004914 */
0000490E 6100 F2D8 bsr -0xD26 /* 00003BE8 */
00004912 6010 bra +0x12 /* 00004924 */
label00004914:
00004914 302D F900 move.w D0, [A5 - 0x700]
00004918 B06D F884 cmp.w D0, [A5 - 0x77C]
0000491C 6500 0006 bcs +0x8 /* 00004924 */
00004920 6100 F2C6 bsr -0xD38 /* 00003BE8 */
label00004924:
00004924 2F2D F828 move.l -[A7], [A5 - 0x7D8]
00004928 A873 syscall SetPort
0000492A 487A 141E pea.l [PC + 0x141E /* 00005D4A, value 0x0, cstring "" */]
0000492E A87B syscall ClipRect
00004930 206D F7FA movea.l A0, [A5 - 0x806]
00004934 6164 bsr +0x66 /* 0000499A */
00004936 4A2D F75A tst.b [A5 - 0x8A6]
0000493A 6700 F4CE beq -0xB30 /* 00003E0A */
0000493E 2B6D F87E F780 move.l [A5 - 0x880], [A5 - 0x782]
00004944 2B6D F882 F784 move.l [A5 - 0x87C], [A5 - 0x77E]
0000494A 6000 F4BE bra -0xB40 /* 00003E0A */
fn0000494E:
0000494E 2F0A move.l -[A7], A2
00004950 246D F834 movea.l A2, [A5 - 0x7CC]
00004954 3B6A 0010 F876 move.w [A5 - 0x78A], [A2 + 0x10]
0000495A 3B6A 0016 F878 move.w [A5 - 0x788], [A2 + 0x16]
00004960 046D 000F F878 subi.w [A5 - 0x788], 0xF
00004966 2B6A 0014 F87A move.l [A5 - 0x786], [A2 + 0x14]
0000496C 486D F876 pea.l [A5 - 0x78A]
00004970 A8A3 syscall EraseRect
00004972 486D F876 pea.l [A5 - 0x78A]
00004976 A928 syscall InvalRect
00004978 3B6A 0014 F876 move.w [A5 - 0x78A], [A2 + 0x14]
0000497E 046D 000F F876 subi.w [A5 - 0x78A], 0xF
00004984 3B6A 0012 F878 move.w [A5 - 0x788], [A2 + 0x12]
0000498A 486D F876 pea.l [A5 - 0x78A]
0000498E A8A3 syscall EraseRect
00004990 486D F876 pea.l [A5 - 0x78A]
00004994 A928 syscall InvalRect
00004996 245F movea.l A2, [A7]+
00004998 4E75 rts
fn0000499A:
0000499A 4A28 0098 tst.b [A0 + 0x98]
0000499E 6608 bne +0xA /* 000049A8 */
000049A0 41E8 008C lea.l A0, [A0 + 0x8C]
label000049A4:
000049A4 2010 move.l D0, [A0]
000049A6 6608 bne +0xA /* 000049B0 */
label000049A8:
000049A8 486D F87E pea.l [A5 - 0x782]
000049AC A87B syscall ClipRect
000049AE 4E75 rts
label000049B0:
000049B0 2040 movea.l A0, D0
000049B2 2050 movea.l A0, [A0]
000049B4 0C28 0010 0025 cmpi.b [A0 + 0x25], 0x10
000049BA 63E8 bls -0x16 /* 000049A4 */
000049BC 2F08 move.l -[A7], A0
000049BE 0C28 0011 0025 cmpi.b [A0 + 0x25], 0x11
000049C4 6728 beq +0x2A /* 000049EE */
000049C6 2F00 move.l -[A7], D0
000049C8 2F00 move.l -[A7], D0
000049CA 3F3C FFFF move.w -[A7], 0xFFFF
000049CE 246D F7FA movea.l A2, [A5 - 0x806]
000049D2 3F2A 0014 move.w -[A7], [A2 + 0x14]
000049D6 0457 000F subi.w [A7], 0xF
000049DA A959 syscall MoveControl
000049DC 3F2A 0016 move.w -[A7], [A2 + 0x16]
000049E0 0457 000D subi.w [A7], 0xD /* '\r' */
000049E4 3F3C 0010 move.w -[A7], 0x10
000049E8 A95C syscall SizeControl
000049EA 205F movea.l A0, [A7]+
000049EC 60B6 bra -0x48 /* 000049A4 */
label000049EE:
000049EE 2F00 move.l -[A7], D0
000049F0 2F00 move.l -[A7], D0
000049F2 246D F7FA movea.l A2, [A5 - 0x806]
000049F6 3F2A 0016 move.w -[A7], [A2 + 0x16]
000049FA 0457 000F subi.w [A7], 0xF
000049FE 3F3C FFFF move.w -[A7], 0xFFFF
00004A02 A959 syscall MoveControl
00004A04 3F3C 0010 move.w -[A7], 0x10
00004A08 3F2A 0014 move.w -[A7], [A2 + 0x14]
00004A0C 0457 000D subi.w [A7], 0xD /* '\r' */
00004A10 A95C syscall SizeControl
00004A12 205F movea.l A0, [A7]+
00004A14 608E bra -0x70 /* 000049A4 */
00004A16 082D 0002 F6D5 btst.b [A5 - 0x92B], 0x2
00004A1C 6706 beq +0x8 /* 00004A24 */
00004A1E 487A 13D8 pea.l [PC + 0x13D8 /* 00005DF8, value 0x174D6F75, pstring "Mouse Clicked In Window" */]
00004A22 ABFF syscall DebugStr
label00004A24:
00004A24 246D F834 movea.l A2, [A5 - 0x7CC]
00004A28 B5ED F902 cmpa.l A2, [A5 - 0x6FE]
00004A2C 6714 beq +0x16 /* 00004A42 */
00004A2E B5ED F800 cmpa.l A2, [A5 - 0x800]
00004A32 670E beq +0x10 /* 00004A42 */
00004A34 B5ED F7FA cmpa.l A2, [A5 - 0x806]
00004A38 6700 002C beq +0x2E /* 00004A66 */
00004A3C B5ED F508 cmpa.l A2, [A5 - 0xAF8]
00004A40 6608 bne +0xA /* 00004A4A */
label00004A42:
00004A42 2F0A move.l -[A7], A2
00004A44 A91F syscall SelectWindow
00004A46 6000 F3C2 bra -0xC3C /* 00003E0A */
label00004A4A:
00004A4A 4A2D F84F tst.b [A5 - 0x7B1]
00004A4E 6600 03DE bne +0x3E0 /* 00004E2E */
00004A52 223C 0003 0000 move.l D1, 0x30000
00004A58 122A 0099 move.b D1, [A2 + 0x99]
00004A5C 7002 moveq.l D0, 0x02
00004A5E 4EBA 0D94 jsr [PC + 0xD94 /* 000057F4 */]
00004A62 6000 F3A6 bra -0xC58 /* 00003E0A */
label00004A66:
00004A66 486D F8F8 pea.l [A5 - 0x708]
00004A6A A871 syscall GlobalToLocal
00004A6C 558F subq.l A7, 2
00004A6E 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004A72 2F0A move.l -[A7], A2
00004A74 486D F81C pea.l [A5 - 0x7E4]
00004A78 A96C syscall FindControl
00004A7A 361F move.w D3, [A7]+
00004A7C 6700 00C8 beq +0xCA /* 00004B46 */
00004A80 0C43 00FE cmpi.w D3, 0xFE
00004A84 6700 F384 beq -0xC7A /* 00003E0A */
00004A88 487A 12C0 pea.l [PC + 0x12C0 /* 00005D4A, value 0x0, cstring "" */]
00004A8C A87B syscall ClipRect
00004A8E 558F subq.l A7, 2
00004A90 2F2D F81C move.l -[A7], [A5 - 0x7E4]
00004A94 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004A98 42A7 clr.l -[A7]
00004A9A A968 syscall TrackControl
00004A9C 321F move.w D1, [A7]+
00004A9E 6700 009C beq +0x9E /* 00004B3C */
00004AA2 206D F7FA movea.l A0, [A5 - 0x806]
00004AA6 41E8 008C lea.l A0, [A0 + 0x8C]
label00004AAA:
00004AAA 2010 move.l D0, [A0]
00004AAC 6700 0098 beq +0x9A /* 00004B46 */
00004AB0 2040 movea.l A0, D0
00004AB2 2050 movea.l A0, [A0]
00004AB4 B0AD F81C cmp.l D0, [A5 - 0x7E4]
00004AB8 66F0 bne -0xE /* 00004AAA */
00004ABA 0C28 0008 0025 cmpi.b [A0 + 0x25], 0x8
00004AC0 6500 006A bcs +0x6C /* 00004B2C */
00004AC4 2600 move.l D3, D0
00004AC6 2648 movea.l A3, A0
00004AC8 0C41 0014 cmpi.w D1, 0x14
00004ACC 674C beq +0x4E /* 00004B1A */
00004ACE 0C41 0015 cmpi.w D1, 0x15
00004AD2 6734 beq +0x36 /* 00004B08 */
00004AD4 0C41 0016 cmpi.w D1, 0x16
00004AD8 671A beq +0x1C /* 00004AF4 */
00004ADA 0C41 0017 cmpi.w D1, 0x17
00004ADE 664A bne +0x4C /* 00004B2A */
00004AE0 558F subq.l A7, 2
00004AE2 2F03 move.l -[A7], D3
00004AE4 A960 syscall GetControlValue/GetCtlValue
00004AE6 301F move.w D0, [A7]+
00004AE8 D06B 0026 add.w D0, [A3 + 0x26]
00004AEC 2F03 move.l -[A7], D3
00004AEE 3F00 move.w -[A7], D0
00004AF0 A963 syscall SetControlValue/SetCtlValue
00004AF2 6036 bra +0x38 /* 00004B2A */
label00004AF4:
00004AF4 558F subq.l A7, 2
00004AF6 2F03 move.l -[A7], D3
00004AF8 A960 syscall GetControlValue/GetCtlValue
00004AFA 301F move.w D0, [A7]+
00004AFC 906B 0026 sub.w D0, [A3 + 0x26]
00004B00 2F03 move.l -[A7], D3
00004B02 3F00 move.w -[A7], D0
00004B04 A963 syscall SetControlValue/SetCtlValue
00004B06 6022 bra +0x24 /* 00004B2A */
label00004B08:
00004B08 558F subq.l A7, 2
00004B0A 2F03 move.l -[A7], D3
00004B0C A960 syscall GetControlValue/GetCtlValue
00004B0E 301F move.w D0, [A7]+
00004B10 5240 addq.w D0, 1
00004B12 2F03 move.l -[A7], D3
00004B14 3F00 move.w -[A7], D0
00004B16 A963 syscall SetControlValue/SetCtlValue
00004B18 6010 bra +0x12 /* 00004B2A */
label00004B1A:
00004B1A 558F subq.l A7, 2
00004B1C 2F03 move.l -[A7], D3
00004B1E A960 syscall GetControlValue/GetCtlValue
00004B20 301F move.w D0, [A7]+
00004B22 5340 subq.w D0, 1
00004B24 2F03 move.l -[A7], D3
00004B26 3F00 move.w -[A7], D0
00004B28 A963 syscall SetControlValue/SetCtlValue
label00004B2A:
00004B2A 204B movea.l A0, A3
label00004B2C:
00004B2C 223C 0001 0000 move.l D1, 0x10000
00004B32 1228 0024 move.b D1, [A0 + 0x24]
00004B36 7002 moveq.l D0, 0x02
00004B38 4EBA 0CBA jsr [PC + 0xCBA /* 000057F4 */]
label00004B3C:
00004B3C 486D F87E pea.l [A5 - 0x782]
00004B40 A87B syscall ClipRect
00004B42 6000 F2C6 bra -0xD38 /* 00003E0A */
label00004B46:
00004B46 7200 moveq.l D1, 0x00
00004B48 122A 0099 move.b D1, [A2 + 0x99]
00004B4C 206D F7EC movea.l A0, [A5 - 0x814]
00004B50 E949 lsl D1.w, 4
00004B52 41F0 1000 lea.l A0, [A0 + D1.w]
00004B56 2668 000C movea.l A3, [A0 + 0xC]
00004B5A 2653 movea.l A3, [A3]
00004B5C 2B6B 0008 F850 move.l [A5 - 0x7B0], [A3 + 0x8]
00004B62 2B6B 000C F854 move.l [A5 - 0x7AC], [A3 + 0xC]
00004B68 2F08 move.l -[A7], A0
00004B6A 558F subq.l A7, 2
00004B6C 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004B70 486D F850 pea.l [A5 - 0x7B0]
00004B74 A8AD syscall PtInRect
00004B76 4A1F tst.b [A7]+
00004B78 205F movea.l A0, [A7]+
00004B7A 6726 beq +0x28 /* 00004BA2 */
00004B7C 2F08 move.l -[A7], A0
00004B7E 486D F8FE pea.l [A5 - 0x702]
00004B82 A89A syscall GetPen
00004B84 205F movea.l A0, [A7]+
00004B86 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004B8A 082D 0001 F8FC btst.b [A5 - 0x704], 0x1
00004B90 56E7 sne -[A7]
00004B92 2F28 0008 move.l -[A7], [A0 + 0x8]
00004B96 A9D4 syscall TEClick
00004B98 2F2D F8FE move.l -[A7], [A5 - 0x702]
00004B9C A893 syscall MoveTo
00004B9E 6000 F26A bra -0xD94 /* 00003E0A */
label00004BA2:
00004BA2 7200 moveq.l D1, 0x00
00004BA4 122A 0099 move.b D1, [A2 + 0x99]
00004BA8 206D F7EC movea.l A0, [A5 - 0x814]
00004BAC E949 lsl D1.w, 4
00004BAE 41F0 1004 lea.l A0, [A0 + D1.w + 0x4]
00004BB2 47E8 FFFC lea.l A3, [A0 - 0x4]
label00004BB6:
00004BB6 2610 move.l D3, [A0]
00004BB8 677C beq +0x7E /* 00004C36 */
00004BBA 2043 movea.l A0, D3
00004BBC 2050 movea.l A0, [A0]
00004BBE 2B68 0008 F850 move.l [A5 - 0x7B0], [A0 + 0x8]
00004BC4 2B68 000C F854 move.l [A5 - 0x7AC], [A0 + 0xC]
00004BCA 2F08 move.l -[A7], A0
00004BCC 558F subq.l A7, 2
00004BCE 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004BD2 486D F850 pea.l [A5 - 0x7B0]
00004BD6 A8AD syscall PtInRect
00004BD8 4A1F tst.b [A7]+
00004BDA 205F movea.l A0, [A7]+
00004BDC 67D8 beq -0x26 /* 00004BB6 */
00004BDE 2F08 move.l -[A7], A0
00004BE0 486D F8FE pea.l [A5 - 0x702]
00004BE4 A89A syscall GetPen
00004BE6 2743 000C move.l [A3 + 0xC], D3
00004BEA 2F2B 0008 move.l -[A7], [A3 + 0x8]
00004BEE A9D9 syscall TEDeactivate
00004BF0 206B 0008 movea.l A0, [A3 + 0x8]
00004BF4 2050 movea.l A0, [A0]
00004BF6 42A8 0010 clr.l [A0 + 0x10]
00004BFA 42A8 0014 clr.l [A0 + 0x14]
00004BFE 205F movea.l A0, [A7]+
00004C00 6100 F58E bsr -0xA70 /* 00004190 */
00004C04 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004C08 4227 clr.b -[A7]
00004C0A 2F2B 0008 move.l -[A7], [A3 + 0x8]
00004C0E A9D4 syscall TEClick
00004C10 2F2B 0008 move.l -[A7], [A3 + 0x8]
00004C14 A9D8 syscall TEActivate
00004C16 2F2D F8FE move.l -[A7], [A5 - 0x702]
00004C1A A893 syscall MoveTo
00004C1C 7002 moveq.l D0, 0x02
00004C1E 223C 0002 0000 move.l D1, 0x20000
00004C24 206B 000C movea.l A0, [A3 + 0xC]
00004C28 2050 movea.l A0, [A0]
00004C2A 3228 0004 move.w D1, [A0 + 0x4]
00004C2E 4EBA 0BC4 jsr [PC + 0xBC4 /* 000057F4 */]
00004C32 6000 F1D6 bra -0xE28 /* 00003E0A */
label00004C36:
00004C36 202D F8F4 move.l D0, [A5 - 0x70C]
00004C3A 90AD F6D0 sub.l D0, [A5 - 0x930]
00004C3E B0B8 02F0 cmp.l D0, [0x000002F0 /* DoubleTime */]
00004C42 6214 bhi +0x16 /* 00004C58 */
00004C44 522D F6D9 addq.b [A5 - 0x927], 1
00004C48 0C2D 0003 F6D9 cmpi.b [A5 - 0x927], 0x3
00004C4E 630E bls +0x10 /* 00004C5E */
00004C50 1B7C 0003 F6D9 move.b [A5 - 0x927], 0x3
00004C56 6006 bra +0x8 /* 00004C5E */
label00004C58:
00004C58 1B7C 0001 F6D9 move.b [A5 - 0x927], 0x1
label00004C5E:
00004C5E 2B6D F8F4 F6D0 move.l [A5 - 0x930], [A5 - 0x70C]
00004C64 2B6D F8F8 F6DA move.l [A5 - 0x926], [A5 - 0x708]
00004C6A 2B6D F6DA F6DE move.l [A5 - 0x922], [A5 - 0x926]
00004C70 7200 moveq.l D1, 0x00
00004C72 122D F6D9 move.b D1, [A5 - 0x927]
00004C76 7004 moveq.l D0, 0x04
00004C78 4EBA 0B7A jsr [PC + 0xB7A /* 000057F4 */]
00004C7C 6000 F18C bra -0xE72 /* 00003E0A */
00004C80 082D 0000 F6D5 btst.b [A5 - 0x92B], 0x0
00004C86 6706 beq +0x8 /* 00004C8E */
00004C88 487A 11B3 pea.l [PC + 0x11B3 /* 00005E3D, value 0x17416374, pstring "Activate Event Occurred" */]
00004C8C ABFF syscall DebugStr
label00004C8E:
00004C8E 206D F8F0 movea.l A0, [A5 - 0x710]
00004C92 082D 0000 F8FD btst.b [A5 - 0x703], 0x0
00004C98 6700 019E beq +0x1A0 /* 00004E38 */
00004C9C B1ED F902 cmpa.l A0, [A5 - 0x6FE]
00004CA0 6700 0094 beq +0x96 /* 00004D36 */
00004CA4 B1ED F508 cmpa.l A0, [A5 - 0xAF8]
00004CA8 6700 007C beq +0x7E /* 00004D26 */
00004CAC B1ED F800 cmpa.l A0, [A5 - 0x800]
00004CB0 6700 F158 beq -0xEA6 /* 00003E0A */
00004CB4 2B48 F828 move.l [A5 - 0x7D8], A0
00004CB8 7000 moveq.l D0, 0x00
00004CBA 1028 0099 move.b D0, [A0 + 0x99]
00004CBE E948 lsl D0.w, 4
00004CC0 226D F7EC movea.l A1, [A5 - 0x814]
00004CC4 4AB1 0000 tst.l [A1 + D0.w]
00004CC8 6700 F140 beq -0xEBE /* 00003E0A */
00004CCC 2B48 F866 move.l [A5 - 0x79A], A0
00004CD0 B1ED F7FA cmpa.l A0, [A5 - 0x806]
00004CD4 6600 F134 bne -0xECA /* 00003E0A */
00004CD8 486D F81C pea.l [A5 - 0x7E4]
00004CDC A874 syscall GetPort
00004CDE 2F2D F7FA move.l -[A7], [A5 - 0x806]
00004CE2 A873 syscall SetPort
00004CE4 487A 1064 pea.l [PC + 0x1064 /* 00005D4A, value 0x0, cstring "" */]
00004CE8 A87B syscall ClipRect
00004CEA 2F2D F866 move.l -[A7], [A5 - 0x79A]
00004CEE A969 syscall DrawControls
00004CF0 206D F866 movea.l A0, [A5 - 0x79A]
00004CF4 4A28 0098 tst.b [A0 + 0x98]
00004CF8 6610 bne +0x12 /* 00004D0A */
00004CFA 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
00004D00 2F08 move.l -[A7], A0
00004D02 A904 syscall DrawGrowIcon
00004D04 2F2D F8FE move.l -[A7], [A5 - 0x702]
00004D08 A893 syscall MoveTo
label00004D0A:
00004D0A 206D F866 movea.l A0, [A5 - 0x79A]
00004D0E 4A28 009A tst.b [A0 + 0x9A]
00004D12 56ED F84F sne [A5 - 0x7B1]
00004D16 486D F87E pea.l [A5 - 0x782]
00004D1A A87B syscall ClipRect
00004D1C 2F2D F81C move.l -[A7], [A5 - 0x7E4]
00004D20 A873 syscall SetPort
00004D22 6000 F0E6 bra -0xF18 /* 00003E0A */
label00004D26:
00004D26 2B48 F866 move.l [A5 - 0x79A], A0
00004D2A 2B48 F7FA move.l [A5 - 0x806], A0
00004D2E 4EAD 13BA jsr [A5 + 0x13BA /* export_627 */]
00004D32 6000 F0D6 bra -0xF28 /* 00003E0A */
label00004D36:
00004D36 2B48 F866 move.l [A5 - 0x79A], A0
00004D3A 2B48 F7FA move.l [A5 - 0x806], A0
00004D3E 2F08 move.l -[A7], A0
00004D40 A873 syscall SetPort
00004D42 6104 bsr +0x6 /* 00004D48 */
00004D44 6000 F0C4 bra -0xF3A /* 00003E0A */
fn00004D48:
00004D48 4A2D F75B tst.b [A5 - 0x8A5]
00004D4C 666A bne +0x6C /* 00004DB8 */
00004D4E 2F2D F88E move.l -[A7], [A5 - 0x772]
00004D52 3F3C 0001 move.w -[A7], 0x1
00004D56 A93A syscall DisableItem
00004D58 2F2D F88E move.l -[A7], [A5 - 0x772]
00004D5C 3F3C 0003 move.w -[A7], 0x3
00004D60 A93A syscall DisableItem
00004D62 2F2D F88E move.l -[A7], [A5 - 0x772]
00004D66 3F3C 0004 move.w -[A7], 0x4
00004D6A A93A syscall DisableItem
00004D6C 2F2D F88E move.l -[A7], [A5 - 0x772]
00004D70 3F3C 0005 move.w -[A7], 0x5
00004D74 A93A syscall DisableItem
00004D76 2F2D F88E move.l -[A7], [A5 - 0x772]
00004D7A 3F3C 0007 move.w -[A7], 0x7
00004D7E 487A 0FDE pea.l [PC + 0xFDE /* 00005D5E, value 0xB456469, pstring "Edit Window" */]
00004D82 A947 syscall SetMenuItemText/SetItem
00004D84 4A2D F75D tst.b [A5 - 0x8A3]
00004D88 660A bne +0xC /* 00004D94 */
00004D8A 2F2D F88E move.l -[A7], [A5 - 0x772]
00004D8E 3F3C 000B move.w -[A7], 0xB
00004D92 A939 syscall EnableItem
label00004D94:
00004D94 2F2D F892 move.l -[A7], [A5 - 0x76E]
00004D98 4267 clr.w -[A7]
00004D9A A939 syscall EnableItem
00004D9C 2F2D F88A move.l -[A7], [A5 - 0x776]
00004DA0 4267 clr.w -[A7]
00004DA2 A939 syscall EnableItem
00004DA4 2F2D F886 move.l -[A7], [A5 - 0x77A]
00004DA8 3F3C 0001 move.w -[A7], 0x1
00004DAC A939 syscall EnableItem
00004DAE 2F2D F89A move.l -[A7], [A5 - 0x766]
00004DB2 4267 clr.w -[A7]
00004DB4 A939 syscall EnableItem
00004DB6 A937 syscall DrawMenuBar
label00004DB8:
00004DB8 4E75 rts
fn00004DBA:
00004DBA 4A2D F75B tst.b [A5 - 0x8A5]
00004DBE 6664 bne +0x66 /* 00004E24 */
00004DC0 2F2D F88E move.l -[A7], [A5 - 0x772]
00004DC4 3F3C 0001 move.w -[A7], 0x1
00004DC8 A939 syscall EnableItem
00004DCA 2F2D F88E move.l -[A7], [A5 - 0x772]
00004DCE 3F3C 0003 move.w -[A7], 0x3
00004DD2 A939 syscall EnableItem
00004DD4 2F2D F88E move.l -[A7], [A5 - 0x772]
00004DD8 3F3C 0004 move.w -[A7], 0x4
00004DDC A939 syscall EnableItem
00004DDE 2F2D F88E move.l -[A7], [A5 - 0x772]
00004DE2 3F3C 0005 move.w -[A7], 0x5
00004DE6 A939 syscall EnableItem
00004DE8 2F2D F88E move.l -[A7], [A5 - 0x772]
00004DEC 3F3C 0007 move.w -[A7], 0x7
00004DF0 487A 0F78 pea.l [PC + 0xF78 /* 00005D6A, value 0xE436F6D, pstring "Command Window" */]
00004DF4 A947 syscall SetMenuItemText/SetItem
00004DF6 2F2D F88E move.l -[A7], [A5 - 0x772]
00004DFA 3F3C 000B move.w -[A7], 0xB
00004DFE A93A syscall DisableItem
00004E00 2F2D F892 move.l -[A7], [A5 - 0x76E]
00004E04 4267 clr.w -[A7]
00004E06 A93A syscall DisableItem
00004E08 2F2D F88A move.l -[A7], [A5 - 0x776]
00004E0C 4267 clr.w -[A7]
00004E0E A93A syscall DisableItem
00004E10 2F2D F886 move.l -[A7], [A5 - 0x77A]
00004E14 3F3C 0001 move.w -[A7], 0x1
00004E18 A93A syscall DisableItem
00004E1A 2F2D F89A move.l -[A7], [A5 - 0x766]
00004E1E 4267 clr.w -[A7]
00004E20 A93A syscall DisableItem
00004E22 A937 syscall DrawMenuBar
label00004E24:
00004E24 4E75 rts
00004E26 4A2D F84F tst.b [A5 - 0x7B1]
00004E2A 6700 EFDE beq -0x1020 /* 00003E0A */
label00004E2E:
00004E2E 3F3C 0003 move.w -[A7], 0x3
00004E32 A9C8 syscall SysBeep
00004E34 6000 EFD4 bra -0x102A /* 00003E0A */
label00004E38:
00004E38 B1ED F902 cmpa.l A0, [A5 - 0x6FE]
00004E3C 6600 EFCC bne -0x1032 /* 00003E0A */
00004E40 4A2D F75B tst.b [A5 - 0x8A5]
00004E44 6600 EFC4 bne -0x103A /* 00003E0A */
00004E48 6100 FF70 bsr -0x8E /* 00004DBA */
00004E4C 6000 EFBC bra -0x1042 /* 00003E0A */
00004E50 206D F834 movea.l A0, [A5 - 0x7CC]
00004E54 B1ED F866 cmpa.l A0, [A5 - 0x79A]
00004E58 670E beq +0x10 /* 00004E68 */
00004E5A B1ED F902 cmpa.l A0, [A5 - 0x6FE]
00004E5E 6708 beq +0xA /* 00004E68 */
00004E60 B1ED F800 cmpa.l A0, [A5 - 0x800]
00004E64 6600 0012 bne +0x14 /* 00004E78 */
label00004E68:
00004E68 2F08 move.l -[A7], A0
00004E6A 2F2D F8F8 move.l -[A7], [A5 - 0x708]
00004E6E 487A 0ED2 pea.l [PC + 0xED2 /* 00005D42, value 0x190004, cstring "" */]
00004E72 A925 syscall DragWindow
00004E74 6000 EF94 bra -0x106A /* 00003E0A */
label00004E78:
00004E78 4A2D F84F tst.b [A5 - 0x7B1]
00004E7C 66B0 bne -0x4E /* 00004E2E */
00004E7E 6000 EF8A bra -0x1074 /* 00003E0A */
fn00004E82:
00004E82 422D F81B clr.b [A5 - 0x7E5]
00004E86 206D F7FA movea.l A0, [A5 - 0x806]
00004E8A 41E8 008C lea.l A0, [A0 + 0x8C]
label00004E8E:
00004E8E 2010 move.l D0, [A0]
00004E90 6710 beq +0x12 /* 00004EA2 */
00004E92 2040 movea.l A0, D0
00004E94 2050 movea.l A0, [A0]
00004E96 0C28 0010 0025 cmpi.b [A0 + 0x25], 0x10
00004E9C 62F0 bhi -0xE /* 00004E8E */
00004E9E 50ED F81B st [A5 - 0x7E5]
label00004EA2:
00004EA2 206D F7FA movea.l A0, [A5 - 0x806]
00004EA6 7000 moveq.l D0, 0x00
00004EA8 1028 0099 move.b D0, [A0 + 0x99]
00004EAC E948 lsl D0.w, 4
00004EAE 206D F7EC movea.l A0, [A5 - 0x814]
00004EB2 4AB0 0004 tst.l [A0 + D0.w + 0x4]
00004EB6 6704 beq +0x6 /* 00004EBC */
00004EB8 50ED F81B st [A5 - 0x7E5]
label00004EBC:
00004EBC 4E75 rts
fn00004EBE:
00004EBE 206D FFFC movea.l A0, [A5 - 0x4]
00004EC2 2B68 0010 F87E move.l [A5 - 0x782], [A0 + 0x10]
00004EC8 2B68 0014 F882 move.l [A5 - 0x77E], [A0 + 0x14]
00004ECE 4A28 0098 tst.b [A0 + 0x98]
00004ED2 670A beq +0xC /* 00004EDE */
00004ED4 0C28 0004 0098 cmpi.b [A0 + 0x98], 0x4
00004EDA 6712 beq +0x14 /* 00004EEE */
00004EDC 6008 bra +0xA /* 00004EE6 */
label00004EDE:
00004EDE 04AD 000F 000F F882 subi.l [A5 - 0x77E], 0xF000F
label00004EE6:
00004EE6 486D F87E pea.l [A5 - 0x782]
00004EEA A87B syscall ClipRect
00004EEC 4E75 rts
label00004EEE:
00004EEE 422D F81A clr.b [A5 - 0x7E6]
00004EF2 41E8 008C lea.l A0, [A0 + 0x8C]
label00004EF6:
00004EF6 2010 move.l D0, [A0]
00004EF8 67EC beq -0x12 /* 00004EE6 */
00004EFA 2040 movea.l A0, D0
00004EFC 2050 movea.l A0, [A0]
00004EFE 0C28 0010 0025 cmpi.b [A0 + 0x25], 0x10
00004F04 63F0 bls -0xE /* 00004EF6 */
00004F06 0C28 0011 0025 cmpi.b [A0 + 0x25], 0x11
00004F0C 6716 beq +0x18 /* 00004F24 */
00004F0E 082D 0001 F81A btst.b [A5 - 0x7E6], 0x1
00004F14 66E0 bne -0x1E /* 00004EF6 */
00004F16 046D 000F F882 subi.w [A5 - 0x77E], 0xF
00004F1C 08ED 0001 F81A bset.b [A5 - 0x7E6], 0x1
00004F22 60D2 bra -0x2C /* 00004EF6 */
label00004F24:
00004F24 082D 0000 F81A btst.b [A5 - 0x7E6], 0x0
00004F2A 66CA bne -0x34 /* 00004EF6 */
00004F2C 046D 000F F884 subi.w [A5 - 0x77C], 0xF
00004F32 08ED 0000 F81A bset.b [A5 - 0x7E6], 0x0
00004F38 60BC bra -0x42 /* 00004EF6 */
label00004F3A:
00004F3A 4A2D F818 tst.b [A5 - 0x7E8]
00004F3E 6600 00D2 bne +0xD4 /* 00005012 */
00004F42 3B40 F816 move.w [A5 - 0x7EA], D0
00004F46 2F08 move.l -[A7], A0
00004F48 A11E syscall NewPtr, flags=1
00004F4A 6600 00F0 bne +0xF2 /* 0000503C */
00004F4E 2B48 F812 move.l [A5 - 0x7EE], A0
00004F52 2B6D FFFC F81C move.l [A5 - 0x7E4], [A5 - 0x4]
00004F58 4EBA D618 jsr [PC - 0x29E8 /* 00002572 */]
00004F5C 6500 00D8 bcs +0xDA /* 00005036 */
00004F60 2049 movea.l A0, A1
00004F62 2B48 F80E move.l [A5 - 0x7F2], A0
00004F66 2157 0012 move.l [A0 + 0x12], [A7]
00004F6A 117C 0001 001B move.b [A0 + 0x1B], 0x1
00004F70 4228 001A clr.b [A0 + 0x1A]
00004F74 2008 move.l D0, A0
00004F76 0680 0000 0100 addi.l D0, 0x100
00004F7C 2140 001C move.l [A0 + 0x1C], D0
00004F80 A000 syscall Open/PBHOpen/HOpen
00004F82 6600 00AC bne +0xAE /* 00005030 */
00004F86 3F38 0AFA move.w -[A7], [0x00000AFA /* DlgFont */]
00004F8A 31FC 0004 0AFA move.w [0x00000AFA /* DlgFont */], 0x4
00004F90 598F subq.l A7, 4
00004F92 3F3C 0087 move.w -[A7], 0x87
00004F96 42A7 clr.l -[A7]
00004F98 42A7 clr.l -[A7]
00004F9A A97C syscall GetNewDialog
00004F9C 2B5F F800 move.l [A5 - 0x800], [A7]+
00004FA0 31DF 0AFA move.w [0x00000AFA /* DlgFont */], [A7]+
00004FA4 2F17 move.l -[A7], [A7]
00004FA6 2F6D F800 0004 move.l [A7 + 0x4], [A5 - 0x800]
00004FAC A91A syscall SetWTitle
00004FAE 2F2D F800 move.l -[A7], [A5 - 0x800]
00004FB2 3F3C 0001 move.w -[A7], 0x1
00004FB6 4267 clr.w -[A7]
00004FB8 487A 0094 pea.l [PC + 0x94 /* 0000504E, value 0x486DF81C */]
00004FBC 487A 0E04 pea.l [PC + 0xE04 /* 00005DC2, value 0x0, cstring "" */]
00004FC0 A98E syscall SetDialogItem/SetDItem
00004FC2 598F subq.l A7, 4
00004FC4 3F3C 0087 move.w -[A7], 0x87
00004FC8 2F2D F800 move.l -[A7], [A5 - 0x800]
00004FCC A9BE syscall GetNewControl
00004FCE 2B57 F806 move.l [A5 - 0x7FA], [A7]
00004FD2 4267 clr.w -[A7]
00004FD4 A964 syscall SetControlMinimum/SetMinCtl
00004FD6 206D F80E movea.l A0, [A5 - 0x7F2]
00004FDA 4268 001C clr.w [A0 + 0x1C]
00004FDE A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00004FE0 317C 0081 002C move.w [A0 + 0x2C], 0x81
00004FE6 316D F816 0024 move.w [A0 + 0x24], [A5 - 0x7EA]
00004FEC 216D F812 0020 move.l [A0 + 0x20], [A5 - 0x7EE]
00004FF2 2028 0036 move.l D0, [A0 + 0x36]
00004FF6 80ED F816 divu.w D0, [A5 - 0x7EA]
00004FFA 2F2D F806 move.l -[A7], [A5 - 0x7FA]
00004FFE 3F00 move.w -[A7], D0
00005000 A965 syscall SetControlMaximum/SetMaxCtl
00005002 2F2D F806 move.l -[A7], [A5 - 0x7FA]
00005006 3F2D F804 move.w -[A7], [A5 - 0x7FC]
0000500A A963 syscall SetControlValue/SetCtlValue
0000500C 50ED F818 st [A5 - 0x7E8]
00005010 6006 bra +0x8 /* 00005018 */
label00005012:
00005012 2B6D FFFC F81C move.l [A5 - 0x7E4], [A5 - 0x4]
label00005018:
00005018 4EBA F3A0 jsr [PC - 0xC60 /* 000043BA */]
0000501C 2F2D F800 move.l -[A7], [A5 - 0x800]
00005020 A915 syscall ShowWindow
00005022 2F2D F800 move.l -[A7], [A5 - 0x800]
00005026 A91F syscall SelectWindow
00005028 2F2D F81C move.l -[A7], [A5 - 0x7E4]
0000502C A873 syscall SetPort
0000502E 4E75 rts
label00005030:
00005030 206D F80E movea.l A0, [A5 - 0x7F2]
00005034 A01F syscall DisposPtr/DisposePtr
label00005036:
00005036 206D F812 movea.l A0, [A5 - 0x7EE]
0000503A A01F syscall DisposPtr/DisposePtr
label0000503C:
0000503C 4A2D F75B tst.b [A5 - 0x8A5]
00005040 6608 bne +0xA /* 0000504A */
00005042 41FA 0D60 lea.l A0, [PC + 0xD60 /* 00005DA4, value 0x124E6F20, pstring "No Help Available." */]
00005046 4EED 137A jmp [A5 + 0x137A /* export_619 */]
label0000504A:
0000504A 4EFA C6E4 jmp [PC - 0x391C /* 00001730 */]
fn0000504E:
0000504E 486D F81C pea.l [A5 - 0x7E4]
00005052 A874 syscall GetPort
00005054 2F2F 0006 move.l -[A7], [A7 + 0x6]
00005058 A873 syscall SetPort
0000505A 487A 0D66 pea.l [PC + 0xD66 /* 00005DC2, value 0x0, cstring "" */]
0000505E A8A3 syscall EraseRect
00005060 206F 0006 movea.l A0, [A7 + 0x6]
00005064 317C 0009 004A move.w [A0 + 0x4A], 0x9 /* '\t' */
0000506A 2F2D F812 move.l -[A7], [A5 - 0x7EE]
0000506E 2F2D F80A move.l -[A7], [A5 - 0x7F6]
00005072 487A 0D4E pea.l [PC + 0xD4E /* 00005DC2, value 0x0, cstring "" */]
00005076 4267 clr.w -[A7]
00005078 A9CE syscall TETextBox/TextBox
0000507A 2F2F 0006 move.l -[A7], [A7 + 0x6]
0000507E A969 syscall DrawControls
00005080 2F2D F81C move.l -[A7], [A5 - 0x7E4]
00005084 A873 syscall SetPort
00005086 2F57 0006 move.l [A7 + 0x6], [A7]
0000508A 5C8F addq.l A7, 6
0000508C 4E75 rts
0000508E 4A6D F6CE tst.w [A5 - 0x932]
00005092 6600 0096 bne +0x98 /* 0000512A */
00005096 3F00 move.w -[A7], D0
00005098 4AAD F824 tst.l [A5 - 0x7DC]
0000509C 6612 bne +0x14 /* 000050B0 */
0000509E 203C 0000 0200 move.l D0, 0x200
000050A4 A31E syscall NewPtrClear, flags=3
000050A6 6600 B1CE bne -0x4E30 /* 00000276 */
000050AA 2B48 F824 move.l [A5 - 0x7DC], A0
000050AE 3017 move.w D0, [A7]
label000050B0:
000050B0 246D F824 movea.l A2, [A5 - 0x7DC]
000050B4 E748 lsl D0.w, 3
000050B6 4AB2 0004 tst.l [A2 + D0.w + 0x4]
000050BA 6600 0070 bne +0x72 /* 0000512C */
000050BE 3B5F F6CE move.w [A5 - 0x932], [A7]+
000050C2 3600 move.w D3, D0
000050C4 598F subq.l A7, 4
000050C6 3F2D F6CE move.w -[A7], [A5 - 0x932]
000050CA 487A 0D02 pea.l [PC + 0xD02 /* 00005DCE, value 0x4456469, pstring "Edit" */]
000050CE A931 syscall NewMenu
000050D0 2597 3004 move.l [A2 + D3.w + 0x4], [A7]
000050D4 302D F6CE move.w D0, [A5 - 0x932]
label000050D8:
000050D8 5240 addq.w D0, 1
000050DA 0C40 0014 cmpi.w D0, 0x14
000050DE 620A bhi +0xC /* 000050EA */
000050E0 3200 move.w D1, D0
000050E2 E749 lsl D1.w, 3
000050E4 4AB2 1004 tst.l [A2 + D1.w + 0x4]
000050E8 67EE beq -0x10 /* 000050D8 */
label000050EA:
000050EA 3F00 move.w -[A7], D0
000050EC A935 syscall InsertMenu
000050EE 35BC 0006 3000 move.w [A2 + D3.w], 0x6
000050F4 45F2 3004 lea.l A2, [A2 + D3.w + 0x4]
000050F8 2F12 move.l -[A7], [A2]
000050FA 487A 0CD8 pea.l [PC + 0xCD8 /* 00005DD4, value 0x6556E64, pstring "Undo/Z" */]
000050FE A933 syscall AppendMenu
00005100 2F12 move.l -[A7], [A2]
00005102 487A 0CC6 pea.l [PC + 0xCC6 /* 00005DCA, value 0x2282D00, pstring "(-" */]
00005106 A933 syscall AppendMenu
00005108 2F12 move.l -[A7], [A2]
0000510A 487A 0CD0 pea.l [PC + 0xCD0 /* 00005DDC, value 0x5437574, pstring "Cut/X" */]
0000510E A933 syscall AppendMenu
00005110 2F12 move.l -[A7], [A2]
00005112 487A 0CCE pea.l [PC + 0xCCE /* 00005DE2, value 0x6436F70, pstring "Copy/C" */]
00005116 A933 syscall AppendMenu
00005118 2F12 move.l -[A7], [A2]
0000511A 487A 0CCE pea.l [PC + 0xCCE /* 00005DEA, value 0x7506173, pstring "Paste/V" */]
0000511E A933 syscall AppendMenu
00005120 2F12 move.l -[A7], [A2]
00005122 487A 0CCE pea.l [PC + 0xCCE /* 00005DF2, value 0x5436C65, pstring "Clear" */]
00005126 A933 syscall AppendMenu
00005128 A937 syscall DrawMenuBar
label0000512A:
0000512A 4E75 rts
label0000512C:
0000512C 548F addq.l A7, 2
0000512E 4E75 rts
label00005130:
00005130 4A2D F81A tst.b [A5 - 0x7E6]
00005134 6702 beq +0x4 /* 00005138 */
00005136 A937 syscall DrawMenuBar
label00005138:
00005138 205F movea.l A0, [A7]+
0000513A 4FEF 000A lea.l A7, [A7 + 0xA]
0000513E 4ED0 jmp [A0]
export_33:
00005140 422D F81A clr.b [A5 - 0x7E6]
00005144 4AAD F824 tst.l [A5 - 0x7DC]
00005148 6610 bne +0x12 /* 0000515A */
0000514A 203C 0000 0200 move.l D0, 0x200
00005150 A31E syscall NewPtrClear, flags=3
00005152 6600 B122 bne -0x4EDC /* 00000276 */
00005156 2B48 F824 move.l [A5 - 0x7DC], A0
label0000515A:
0000515A 246D F824 movea.l A2, [A5 - 0x7DC]
0000515E 362F 000C move.w D3, [A7 + 0xC]
00005162 382F 000A move.w D4, [A7 + 0xA]
00005166 6700 009E beq +0xA0 /* 00005206 */
0000516A E74B lsl D3.w, 3
0000516C 4AB2 3004 tst.l [A2 + D3.w + 0x4]
00005170 67C6 beq -0x38 /* 00005138 */
00005172 B872 3000 cmp.w D4, [A2 + D3.w]
00005176 6200 0064 bhi +0x66 /* 000051DC */
0000517A 4AAF 0004 tst.l [A7 + 0x4]
0000517E 670C beq +0xE /* 0000518C */
00005180 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
00005184 3F04 move.w -[A7], D4
00005186 2F2F 000A move.l -[A7], [A7 + 0xA]
0000518A A947 syscall SetMenuItemText/SetItem
label0000518C:
0000518C 3A2F 0008 move.w D5, [A7 + 0x8]
00005190 6734 beq +0x36 /* 000051C6 */
00005192 5345 subq.w D5, 1
00005194 671A beq +0x1C /* 000051B0 */
00005196 4A44 tst.w D4
00005198 6716 beq +0x18 /* 000051B0 */
0000519A 5305 subq.b D5, 1
0000519C 6602 bne +0x4 /* 000051A0 */
0000519E 7A10 moveq.l D5, 0x10
label000051A0:
000051A0 5405 addq.b D5, 2
000051A2 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051A6 3F04 move.w -[A7], D4
000051A8 3F05 move.w -[A7], D5
000051AA 1E85 move.b [A7], D5
000051AC A944 syscall SetItmMark
000051AE 600A bra +0xC /* 000051BA */
label000051B0:
000051B0 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051B4 3F04 move.w -[A7], D4
000051B6 4267 clr.w -[A7]
000051B8 A944 syscall SetItmMark
label000051BA:
000051BA 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051BE 3F04 move.w -[A7], D4
000051C0 A939 syscall EnableItem
000051C2 6000 FF6C bra -0x92 /* 00005130 */
label000051C6:
000051C6 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051CA 3F04 move.w -[A7], D4
000051CC A93A syscall DisableItem
000051CE 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051D2 3F04 move.w -[A7], D4
000051D4 4267 clr.w -[A7]
000051D6 A944 syscall SetItmMark
000051D8 6000 FF56 bra -0xA8 /* 00005130 */
label000051DC:
000051DC 3A04 move.w D5, D4
000051DE 9A72 3000 sub.w D5, [A2 + D3.w]
000051E2 5345 subq.w D5, 1
000051E4 6710 beq +0x12 /* 000051F6 */
000051E6 5345 subq.w D5, 1
label000051E8:
000051E8 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051EC 487A 0BDC pea.l [PC + 0xBDC /* 00005DCA, value 0x2282D00, pstring "(-" */]
000051F0 A933 syscall AppendMenu
000051F2 51CD FFF4 dbf D5, -0xE /* 000051E8 */
label000051F6:
000051F6 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
000051FA 2F2F 0008 move.l -[A7], [A7 + 0x8]
000051FE A933 syscall AppendMenu
00005200 3584 3000 move.w [A2 + D3.w], D4
00005204 6086 bra -0x78 /* 0000518C */
label00005206:
00005206 0C43 0014 cmpi.w D3, 0x14
0000520A 6200 FF2C bhi -0xD2 /* 00005138 */
0000520E 50ED F81A st [A5 - 0x7E6]
00005212 3A03 move.w D5, D3
00005214 E74B lsl D3.w, 3
00005216 4AB2 3004 tst.l [A2 + D3.w + 0x4]
0000521A 670A beq +0xC /* 00005226 */
0000521C 3F05 move.w -[A7], D5
0000521E A936 syscall DeleteMenu
00005220 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
00005224 A932 syscall DisposeMenu
label00005226:
00005226 598F subq.l A7, 4
00005228 3F05 move.w -[A7], D5
0000522A 2F2F 000A move.l -[A7], [A7 + 0xA]
0000522E A931 syscall NewMenu
00005230 2597 3004 move.l [A2 + D3.w + 0x4], [A7]
00005234 3005 move.w D0, D5
label00005236:
00005236 5240 addq.w D0, 1
00005238 0C40 0014 cmpi.w D0, 0x14
0000523C 620A bhi +0xC /* 00005248 */
0000523E 3200 move.w D1, D0
00005240 E749 lsl D1.w, 3
00005242 4AB2 1004 tst.l [A2 + D1.w + 0x4]
00005246 67EE beq -0x10 /* 00005236 */
label00005248:
00005248 3F00 move.w -[A7], D0
0000524A A935 syscall InsertMenu
0000524C 4272 3000 clr.w [A2 + D3.w]
00005250 6000 FF3A bra -0xC4 /* 0000518C */
export_29:
00005254 2F2D F902 move.l -[A7], [A5 - 0x6FE]
00005258 A916 syscall HideWindow
0000525A 266D F7EC movea.l A3, [A5 - 0x814]
0000525E 422D F81A clr.b [A5 - 0x7E6]
00005262 2B7A C0A6 F850 move.l [A5 - 0x7B0], [PC - 0x3F5A /* 0000130A, value 0x260004, cstring "" */]
00005268 2B7A C0A4 F854 move.l [A5 - 0x7AC], [PC - 0x3F5C /* 0000130E, value 0x14001FE */]
0000526E 245F movea.l A2, [A7]+
00005270 361F move.w D3, [A7]+
00005272 6602 bne +0x4 /* 00005276 */
00005274 7601 moveq.l D3, 0x01
label00005276:
00005276 6A06 bpl +0x8 /* 0000527E */
00005278 4443 neg.w D3
0000527A 50ED F84F st [A5 - 0x7B1]
label0000527E:
0000527E 4A5F tst.w [A7]+
00005280 670A beq +0xC /* 0000528C */
00005282 08ED 0001 F81A bset.b [A5 - 0x7E6], 0x1
00005288 2B5F F854 move.l [A5 - 0x7AC], [A7]+
label0000528C:
0000528C 4A5F tst.w [A7]+
0000528E 670A beq +0xC /* 0000529A */
00005290 2B5F F850 move.l [A5 - 0x7B0], [A7]+
00005294 08ED 0000 F81A bset.b [A5 - 0x7E6], 0x0
label0000529A:
0000529A 08ED 0002 F81A bset.b [A5 - 0x7E6], 0x2
000052A0 281F move.l D4, [A7]+
000052A2 660C bne +0xE /* 000052B0 */
000052A4 08AD 0002 F81A bclr.b [A5 - 0x7E6], 0x2
000052AA 487A 0B0C pea.l [PC + 0xB0C /* 00005DB8, value 0x8556E74, pstring "Untitled" */]
000052AE 281F move.l D4, [A7]+
label000052B0:
000052B0 3A1F move.w D5, [A7]+
000052B2 E94D lsl D5.w, 4
000052B4 4AB3 5000 tst.l [A3 + D5.w]
000052B8 6600 00A0 bne +0xA2 /* 0000535A */
000052BC 598F subq.l A7, 4
000052BE 42A7 clr.l -[A7]
000052C0 486D F850 pea.l [A5 - 0x7B0]
000052C4 2F04 move.l -[A7], D4
000052C6 3F3C FFFF move.w -[A7], 0xFFFF
000052CA 0C43 0005 cmpi.w D3, 0x5
000052CE 6302 bls +0x4 /* 000052D2 */
000052D0 7601 moveq.l D3, 0x01
label000052D2:
000052D2 5343 subq.w D3, 1
000052D4 3F03 move.w -[A7], D3
000052D6 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000052DC 3F3C FFFF move.w -[A7], 0xFFFF
000052E0 42A7 clr.l -[A7]
000052E2 E84D lsr D5.w, 4
000052E4 1F45 0001 move.b [A7 + 0x1], D5
000052E8 E94D lsl D5.w, 4
000052EA 4A2D F84F tst.b [A5 - 0x7B1]
000052EE 56EF 0002 sne [A7 + 0x2]
000052F2 1E83 move.b [A7], D3
000052F4 A913 syscall NewWindow
000052F6 2797 5000 move.l [A3 + D5.w], [A7]
000052FA 2B57 F7FA move.l [A5 - 0x806], [A7]
000052FE A873 syscall SetPort
00005300 42A7 clr.l -[A7]
00005302 A878 syscall SetOrigin
00005304 598F subq.l A7, 4
00005306 487A 0A2A pea.l [PC + 0xA2A /* 00005D32, value 0x0, cstring "" */]
0000530A 487A 0A26 pea.l [PC + 0xA26 /* 00005D32, value 0x0, cstring "" */]
0000530E A9D2 syscall TENew
00005310 2797 5008 move.l [A3 + D5.w + 0x8], [A7]
00005314 42B3 5004 clr.l [A3 + D5.w + 0x4]
00005318 205F movea.l A0, [A7]+
0000531A 2050 movea.l A0, [A0]
0000531C 317C 0004 004A move.w [A0 + 0x4A], 0x4
00005322 317C 0009 0050 move.w [A0 + 0x50], 0x9 /* '\t' */
00005328 206D F7FA movea.l A0, [A5 - 0x806]
0000532C 317C 0004 0044 move.w [A0 + 0x44], 0x4
00005332 317C 0009 004A move.w [A0 + 0x4A], 0x9 /* '\t' */
00005338 6100 FB84 bsr -0x47A /* 00004EBE */
0000533C 422D F81B clr.b [A5 - 0x7E5]
00005340 2F0A move.l -[A7], A2
00005342 4A2D F75A tst.b [A5 - 0x8A6]
00005346 6700 E1CC beq -0x1E32 /* 00003514 */
0000534A 2B6D F87E F780 move.l [A5 - 0x880], [A5 - 0x782]
00005350 2B6D F882 F784 move.l [A5 - 0x87C], [A5 - 0x77E]
00005356 6000 E1BC bra -0x1E42 /* 00003514 */
label0000535A:
0000535A 2673 5000 movea.l A3, [A3 + D5.w]
0000535E 082D 0002 F81A btst.b [A5 - 0x7E6], 0x2
00005364 6706 beq +0x8 /* 0000536C */
00005366 2F0B move.l -[A7], A3
00005368 2F04 move.l -[A7], D4
0000536A A91A syscall SetWTitle
label0000536C:
0000536C 082D 0000 F81A btst.b [A5 - 0x7E6], 0x0
00005372 670A beq +0xC /* 0000537E */
00005374 2F0B move.l -[A7], A3
00005376 2F2D F850 move.l -[A7], [A5 - 0x7B0]
0000537A 4267 clr.w -[A7]
0000537C A91B syscall MoveWindow
label0000537E:
0000537E 082D 0001 F81A btst.b [A5 - 0x7E6], 0x1
00005384 671C beq +0x1E /* 000053A2 */
00005386 42AD F850 clr.l [A5 - 0x7B0]
0000538A 486D F850 pea.l [A5 - 0x7B0]
0000538E A870 syscall LocalToGlobal
00005390 202D F854 move.l D0, [A5 - 0x7AC]
00005394 90AD F850 sub.l D0, [A5 - 0x7B0]
00005398 2F0B move.l -[A7], A3
0000539A 2F00 move.l -[A7], D0
0000539C 1F3C FFFF move.b -[A7], 0xFF
000053A0 A91D syscall SizeWindow
label000053A2:
000053A2 2F0B move.l -[A7], A3
000053A4 A91F syscall SelectWindow
000053A6 2F0B move.l -[A7], A3
000053A8 A873 syscall SetPort
000053AA 2B4B F7FA move.l [A5 - 0x806], A3
000053AE 6100 FAD2 bsr -0x52C /* 00004E82 */
000053B2 6100 FB0A bsr -0x4F4 /* 00004EBE */
000053B6 4A2D F75A tst.b [A5 - 0x8A6]
000053BA 670C beq +0xE /* 000053C8 */
000053BC 2B6D F87E F780 move.l [A5 - 0x880], [A5 - 0x782]
000053C2 2B6D F882 F784 move.l [A5 - 0x87C], [A5 - 0x77E]
label000053C8:
000053C8 2F0A move.l -[A7], A2
000053CA 204B movea.l A0, A3
000053CC 082D 0001 F81A btst.b [A5 - 0x7E6], 0x1
000053D2 6600 F5C6 bne -0xA38 /* 0000499A */
000053D6 4E75 rts
000053D8 4AAD F7EC tst.l [A5 - 0x814]
000053DC 6738 beq +0x3A /* 00005416 */
000053DE 246D F7EC movea.l A2, [A5 - 0x814]
000053E2 E948 lsl D0.w, 4
000053E4 4AB2 0000 tst.l [A2 + D0.w]
000053E8 672C beq +0x2E /* 00005416 */
000053EA 2600 move.l D3, D0
000053EC 2F32 0000 move.l -[A7], [A2 + D0.w]
000053F0 2F32 0000 move.l -[A7], [A2 + D0.w]
000053F4 42B2 0000 clr.l [A2 + D0.w]
000053F8 A956 syscall KillControls
000053FA A914 syscall DisposeWindow
000053FC 2F32 3008 move.l -[A7], [A2 + D3.w + 0x8]
00005400 A9CD syscall TEDispose
00005402 43F2 3004 lea.l A1, [A2 + D3.w + 0x4]
00005406 2F11 move.l -[A7], [A1]
label00005408:
00005408 221F move.l D1, [A7]+
0000540A 670A beq +0xC /* 00005416 */
0000540C 2041 movea.l A0, D1
0000540E 2250 movea.l A1, [A0]
00005410 2F11 move.l -[A7], [A1]
00005412 A023 syscall DisposHandle/DisposeHandle
00005414 60F2 bra -0xC /* 00005408 */
label00005416:
00005416 4E75 rts
00005418 4AAD F7EC tst.l [A5 - 0x814]
0000541C 6732 beq +0x34 /* 00005450 */
0000541E E948 lsl D0.w, 4
00005420 206D F7EC movea.l A0, [A5 - 0x814]
00005424 4AB0 0000 tst.l [A0 + D0.w]
00005428 6726 beq +0x28 /* 00005450 */
0000542A 2470 0000 movea.l A2, [A0 + D0.w]
0000542E 2F0A move.l -[A7], A2
00005430 2B4A F7FA move.l [A5 - 0x806], A2
00005434 A873 syscall SetPort
00005436 6100 FA4A bsr -0x5B4 /* 00004E82 */
0000543A 6100 FA82 bsr -0x57C /* 00004EBE */
0000543E 4A2D F75A tst.b [A5 - 0x8A6]
00005442 670C beq +0xE /* 00005450 */
00005444 2B6D F87E F780 move.l [A5 - 0x880], [A5 - 0x782]
0000544A 2B6D F882 F784 move.l [A5 - 0x87C], [A5 - 0x77E]
label00005450:
00005450 4E75 rts
00005452 206D F7FA movea.l A0, [A5 - 0x806]
00005456 41E8 008C lea.l A0, [A0 + 0x8C]
label0000545A:
0000545A 2210 move.l D1, [A0]
0000545C 6722 beq +0x24 /* 00005480 */
0000545E 2041 movea.l A0, D1
00005460 2050 movea.l A0, [A0]
00005462 B028 0024 cmp.b D0, [A0 + 0x24]
00005466 66F2 bne -0xC /* 0000545A */
00005468 7000 moveq.l D0, 0x00
0000546A 1028 0025 move.b D0, [A0 + 0x25]
0000546E 0C40 0008 cmpi.w D0, 0x8
00005472 650A bcs +0xC /* 0000547E */
00005474 558F subq.l A7, 2
00005476 2F01 move.l -[A7], D1
00005478 A960 syscall GetControlValue/GetCtlValue
0000547A 301F move.w D0, [A7]+
0000547C 48C0 ext.l D0
label0000547E:
0000547E 4E75 rts
label00005480:
00005480 7000 moveq.l D0, 0x00
00005482 4E75 rts
00005484 422D F81A clr.b [A5 - 0x7E6]
00005488 487A 08C0 pea.l [PC + 0x8C0 /* 00005D4A, value 0x0, cstring "" */]
0000548C A87B syscall ClipRect
0000548E 245F movea.l A2, [A7]+
00005490 381F move.w D4, [A7]+
00005492 42AD F850 clr.l [A5 - 0x7B0]
00005496 42AD F854 clr.l [A5 - 0x7AC]
0000549A 4A5F tst.w [A7]+
0000549C 6718 beq +0x1A /* 000054B6 */
0000549E 08ED 0000 F81A bset.b [A5 - 0x7E6], 0x0
000054A4 2B5F F854 move.l [A5 - 0x7AC], [A7]+
000054A8 486D F854 pea.l [A5 - 0x7AC]
000054AC 486D F780 pea.l [A5 - 0x880]
000054B0 486D F87E pea.l [A5 - 0x782]
000054B4 A8F9 syscall MapPt
label000054B6:
000054B6 4A5F tst.w [A7]+
000054B8 6718 beq +0x1A /* 000054D2 */
000054BA 2B5F F850 move.l [A5 - 0x7B0], [A7]+
000054BE 08ED 0001 F81A bset.b [A5 - 0x7E6], 0x1
000054C4 486D F850 pea.l [A5 - 0x7B0]
000054C8 486D F780 pea.l [A5 - 0x880]
000054CC 486D F87E pea.l [A5 - 0x782]
000054D0 A8F9 syscall MapPt
label000054D2:
000054D2 322F 0008 move.w D1, [A7 + 0x8]
000054D6 206D F7FA movea.l A0, [A5 - 0x806]
000054DA 41E8 008C lea.l A0, [A0 + 0x8C]
label000054DE:
000054DE 2010 move.l D0, [A0]
000054E0 6700 009C beq +0x9E /* 0000557E */
000054E4 2040 movea.l A0, D0
000054E6 2050 movea.l A0, [A0]
000054E8 B228 0024 cmp.b D1, [A0 + 0x24]
000054EC 66F0 bne -0xE /* 000054DE */
000054EE 0C28 0008 0025 cmpi.b [A0 + 0x25], 0x8
000054F4 6500 007E bcs +0x80 /* 00005574 */
000054F8 2A00 move.l D5, D0
000054FA 2648 movea.l A3, A0
000054FC 0C2B 0010 0025 cmpi.b [A3 + 0x25], 0x10
00005502 6630 bne +0x32 /* 00005534 */
00005504 082D 0001 F81A btst.b [A5 - 0x7E6], 0x1
0000550A 6708 beq +0xA /* 00005514 */
0000550C 2F05 move.l -[A7], D5
0000550E 2F2D F850 move.l -[A7], [A5 - 0x7B0]
00005512 A959 syscall MoveControl
label00005514:
00005514 082D 0000 F81A btst.b [A5 - 0x7E6], 0x0
0000551A 6718 beq +0x1A /* 00005534 */
0000551C 2F05 move.l -[A7], D5
0000551E 302D F856 move.w D0, [A5 - 0x7AA]
00005522 906B 000A sub.w D0, [A3 + 0xA]
00005526 3F00 move.w -[A7], D0
00005528 302D F854 move.w D0, [A5 - 0x7AC]
0000552C 906B 0008 sub.w D0, [A3 + 0x8]
00005530 3F00 move.w -[A7], D0
00005532 A95C syscall SizeControl
label00005534:
00005534 301F move.w D0, [A7]+
00005536 0C40 8000 cmpi.w D0, 0x8000
0000553A 6704 beq +0x6 /* 00005540 */
0000553C 3740 0026 move.w [A3 + 0x26], D0
label00005540:
00005540 301F move.w D0, [A7]+
00005542 0C40 8000 cmpi.w D0, 0x8000
00005546 6706 beq +0x8 /* 0000554E */
00005548 2F05 move.l -[A7], D5
0000554A 3F00 move.w -[A7], D0
0000554C A965 syscall SetControlMaximum/SetMaxCtl
label0000554E:
0000554E 301F move.w D0, [A7]+
00005550 0C40 8000 cmpi.w D0, 0x8000
00005554 6706 beq +0x8 /* 0000555C */
00005556 2F05 move.l -[A7], D5
00005558 3F00 move.w -[A7], D0
0000555A A964 syscall SetControlMinimum/SetMinCtl
label0000555C:
0000555C 301F move.w D0, [A7]+
0000555E 0C40 8000 cmpi.w D0, 0x8000
00005562 6706 beq +0x8 /* 0000556A */
00005564 2F05 move.l -[A7], D5
00005566 3F00 move.w -[A7], D0
00005568 A963 syscall SetControlValue/SetCtlValue
label0000556A:
0000556A 548F addq.l A7, 2
0000556C 486D F87E pea.l [A5 - 0x782]
00005570 A87B syscall ClipRect
00005572 4ED2 jmp [A2]
label00005574:
00005574 508F addq.l A7, 8
00005576 486D F87E pea.l [A5 - 0x782]
0000557A A87B syscall ClipRect
0000557C 4ED2 jmp [A2]
label0000557E:
0000557E 4A44 tst.w D4
00005580 676A beq +0x6C /* 000055EC */
00005582 206D F7FA movea.l A0, [A5 - 0x806]
00005586 4A28 0098 tst.b [A0 + 0x98]
0000558A 6708 beq +0xA /* 00005594 */
0000558C 0C28 0004 0098 cmpi.b [A0 + 0x98], 0x4
00005592 66E0 bne -0x1E /* 00005574 */
label00005594:
00005594 0C44 0001 cmpi.w D4, 0x1
00005598 672A beq +0x2C /* 000055C4 */
0000559A 3B68 0014 F850 move.w [A5 - 0x7B0], [A0 + 0x14]
000055A0 046D 000F F850 subi.w [A5 - 0x7B0], 0xF
000055A6 3B7C FFFF F852 move.w [A5 - 0x7AE], 0xFFFF
000055AC 3B68 0014 F854 move.w [A5 - 0x7AC], [A0 + 0x14]
000055B2 526D F854 addq.w [A5 - 0x7AC], 1
000055B6 3B68 0016 F856 move.w [A5 - 0x7AA], [A0 + 0x16]
000055BC 046D 000E F856 subi.w [A5 - 0x7AA], 0xE
000055C2 6028 bra +0x2A /* 000055EC */
label000055C4:
000055C4 3B7C FFFF F850 move.w [A5 - 0x7B0], 0xFFFF
000055CA 3B68 0014 F854 move.w [A5 - 0x7AC], [A0 + 0x14]
000055D0 046D 000E F854 subi.w [A5 - 0x7AC], 0xE
000055D6 3B68 0016 F856 move.w [A5 - 0x7AA], [A0 + 0x16]
000055DC 526D F856 addq.w [A5 - 0x7AA], 1
000055E0 3B68 0016 F852 move.w [A5 - 0x7AE], [A0 + 0x16]
000055E6 046D 000F F852 subi.w [A5 - 0x7AE], 0xF
label000055EC:
000055EC 3004 move.w D0, D4
000055EE 3E1F move.w D7, [A7]+
000055F0 0C47 8000 cmpi.w D7, 0x8000
000055F4 6602 bne +0x4 /* 000055F8 */
000055F6 7E10 moveq.l D7, 0x10
label000055F8:
000055F8 3C1F move.w D6, [A7]+
000055FA 0C46 8000 cmpi.w D6, 0x8000
000055FE 6604 bne +0x6 /* 00005604 */
00005600 3C3C 00FF move.w D6, 0xFF
label00005604:
00005604 3A1F move.w D5, [A7]+
00005606 0C45 8000 cmpi.w D5, 0x8000
0000560A 6602 bne +0x4 /* 0000560E */
0000560C 7A00 moveq.l D5, 0x00
label0000560E:
0000560E 381F move.w D4, [A7]+
00005610 0C44 8000 cmpi.w D4, 0x8000
00005614 6602 bne +0x4 /* 00005618 */
00005616 7800 moveq.l D4, 0x00
label00005618:
00005618 361F move.w D3, [A7]+
0000561A 598F subq.l A7, 4
0000561C 2F2D F7FA move.l -[A7], [A5 - 0x806]
00005620 486D F850 pea.l [A5 - 0x7B0]
00005624 486D 5D5A pea.l [A5 + 0x5D5A /* export_2983 */]
00005628 1F3C FFFF move.b -[A7], 0xFF
0000562C 3F04 move.w -[A7], D4
0000562E 3F05 move.w -[A7], D5
00005630 3F06 move.w -[A7], D6
00005632 3F3C 0010 move.w -[A7], 0x10
00005636 3F07 move.w -[A7], D7
00005638 3F3C 0010 move.w -[A7], 0x10
0000563C D12F 0001 add.b [A7 + 0x1], D0
00005640 1E83 move.b [A7], D3
00005642 A954 syscall NewControl
00005644 588F addq.l A7, 4
00005646 6100 F83A bsr -0x7C4 /* 00004E82 */
0000564A 2F0A move.l -[A7], A2
0000564C 6000 F870 bra -0x78E /* 00004EBE */
00005650 50ED F81B st [A5 - 0x7E5]
00005654 487A 06F4 pea.l [PC + 0x6F4 /* 00005D4A, value 0x0, cstring "" */]
00005658 A87B syscall ClipRect
0000565A 265F movea.l A3, [A7]+
0000565C 381F move.w D4, [A7]+
0000565E 6602 bne +0x4 /* 00005662 */
00005660 7801 moveq.l D4, 0x01
label00005662:
00005662 42AD F850 clr.l [A5 - 0x7B0]
00005666 42AD F854 clr.l [A5 - 0x7AC]
0000566A 4A5F tst.w [A7]+
0000566C 6712 beq +0x14 /* 00005680 */
0000566E 2B5F F854 move.l [A5 - 0x7AC], [A7]+
00005672 486D F854 pea.l [A5 - 0x7AC]
00005676 486D F780 pea.l [A5 - 0x880]
0000567A 486D F87E pea.l [A5 - 0x782]
0000567E A8F9 syscall MapPt
label00005680:
00005680 4A5F tst.w [A7]+
00005682 6712 beq +0x14 /* 00005696 */
00005684 2B5F F850 move.l [A5 - 0x7B0], [A7]+
00005688 486D F850 pea.l [A5 - 0x7B0]
0000568C 486D F780 pea.l [A5 - 0x880]
00005690 486D F87E pea.l [A5 - 0x782]
00005694 A8F9 syscall MapPt
label00005696:
00005696 2A1F move.l D5, [A7]+
00005698 3C1F move.w D6, [A7]+
0000569A 3E1F move.w D7, [A7]+
0000569C 2F0B move.l -[A7], A3
0000569E 206D F7FA movea.l A0, [A5 - 0x806]
000056A2 41E8 008C lea.l A0, [A0 + 0x8C]
label000056A6:
000056A6 2010 move.l D0, [A0]
000056A8 6700 007A beq +0x7C /* 00005724 */
000056AC 2040 movea.l A0, D0
000056AE 2050 movea.l A0, [A0]
000056B0 BE28 0024 cmp.b D7, [A0 + 0x24]
000056B4 66F0 bne -0xE /* 000056A6 */
000056B6 2640 movea.l A3, D0
000056B8 4AAD F850 tst.l [A5 - 0x7B0]
000056BC 6708 beq +0xA /* 000056C6 */
000056BE 2F0B move.l -[A7], A3
000056C0 2F2D F850 move.l -[A7], [A5 - 0x7B0]
000056C4 A959 syscall MoveControl
label000056C6:
000056C6 4AAD F854 tst.l [A5 - 0x7AC]
000056CA 6718 beq +0x1A /* 000056E4 */
000056CC 2F0B move.l -[A7], A3
000056CE 302D F856 move.w D0, [A5 - 0x7AA]
000056D2 906D F852 sub.w D0, [A5 - 0x7AE]
000056D6 3F00 move.w -[A7], D0
000056D8 302D F854 move.w D0, [A5 - 0x7AC]
000056DC 906D F850 sub.w D0, [A5 - 0x7B0]
000056E0 3F00 move.w -[A7], D0
000056E2 A95C syscall SizeControl
label000056E4:
000056E4 4A85 tst.l D5
000056E6 6706 beq +0x8 /* 000056EE */
000056E8 2F0B move.l -[A7], A3
000056EA 2F05 move.l -[A7], D5
000056EC A95F syscall SetControlTitle/SetCTitle
label000056EE:
000056EE 4A46 tst.w D6
000056F0 6B2A bmi +0x2C /* 0000571C */
000056F2 2053 movea.l A0, [A3]
000056F4 1146 0025 move.b [A0 + 0x25], D6
000056F8 660A bne +0xC /* 00005704 */
000056FA 2F0B move.l -[A7], A3
000056FC 3F3C 00FE move.w -[A7], 0xFE
00005700 A95D syscall HiliteControl
00005702 6018 bra +0x1A /* 0000571C */
label00005704:
00005704 2F0B move.l -[A7], A3
00005706 4267 clr.w -[A7]
00005708 A95D syscall HiliteControl
0000570A 2F0B move.l -[A7], A3
0000570C 5346 subq.w D6, 1
0000570E 6708 beq +0xA /* 00005718 */
00005710 3F3C 0001 move.w -[A7], 0x1
00005714 A963 syscall SetControlValue/SetCtlValue
00005716 6004 bra +0x6 /* 0000571C */
label00005718:
00005718 4267 clr.w -[A7]
0000571A A963 syscall SetControlValue/SetCtlValue
label0000571C:
0000571C 486D F87E pea.l [A5 - 0x782]
00005720 A87B syscall ClipRect
00005722 4E75 rts
label00005724:
00005724 598F subq.l A7, 4
00005726 2F2D F7FA move.l -[A7], [A5 - 0x806]
0000572A 486D F850 pea.l [A5 - 0x7B0]
0000572E 2F05 move.l -[A7], D5
00005730 6606 bne +0x8 /* 00005738 */
00005732 41ED 5D5A lea.l A0, [A5 + 0x5D5A /* export_2983 */]
00005736 2E88 move.l [A7], A0
label00005738:
00005738 3F3C FFFF move.w -[A7], 0xFFFF
0000573C 4267 clr.w -[A7]
0000573E 4267 clr.w -[A7]
00005740 3F3C 0001 move.w -[A7], 0x1
00005744 5344 subq.w D4, 1
00005746 3F04 move.w -[A7], D4
00005748 42A7 clr.l -[A7]
0000574A 1E87 move.b [A7], D7
0000574C A954 syscall NewControl
0000574E 265F movea.l A3, [A7]+
00005750 4A46 tst.w D6
00005752 6BC8 bmi -0x36 /* 0000571C */
00005754 2053 movea.l A0, [A3]
00005756 1146 0025 move.b [A0 + 0x25], D6
0000575A 660A bne +0xC /* 00005766 */
0000575C 2F0B move.l -[A7], A3
0000575E 3F3C 00FE move.w -[A7], 0xFE
00005762 A95D syscall HiliteControl
00005764 6018 bra +0x1A /* 0000577E */
label00005766:
00005766 2F0B move.l -[A7], A3
00005768 4267 clr.w -[A7]
0000576A A95D syscall HiliteControl
0000576C 2F0B move.l -[A7], A3
0000576E 5346 subq.w D6, 1
00005770 6708 beq +0xA /* 0000577A */
00005772 3F3C 0001 move.w -[A7], 0x1
00005776 A963 syscall SetControlValue/SetCtlValue
00005778 6004 bra +0x6 /* 0000577E */
label0000577A:
0000577A 4267 clr.w -[A7]
0000577C A963 syscall SetControlValue/SetCtlValue
label0000577E:
0000577E 486D F87E pea.l [A5 - 0x782]
00005782 A87B syscall ClipRect
00005784 4E75 rts
00005786 206D F7FA movea.l A0, [A5 - 0x806]
0000578A 41E8 008C lea.l A0, [A0 + 0x8C]
label0000578E:
0000578E 2210 move.l D1, [A0]
00005790 670E beq +0x10 /* 000057A0 */
00005792 2050 movea.l A0, [A0]
00005794 2050 movea.l A0, [A0]
00005796 B028 0024 cmp.b D0, [A0 + 0x24]
0000579A 66F2 bne -0xC /* 0000578E */
0000579C 2F01 move.l -[A7], D1
0000579E A955 syscall DisposeControl
label000057A0:
000057A0 6000 F6E0 bra -0x91E /* 00004E82 */
000057A4 4E75 rts
000057A6 265F movea.l A3, [A7]+
000057A8 201F move.l D0, [A7]+
000057AA 2B6D F87E F850 move.l [A5 - 0x7B0], [A5 - 0x782]
000057B0 2B6D F882 F854 move.l [A5 - 0x7AC], [A5 - 0x77E]
000057B6 4A5F tst.w [A7]+
000057B8 6712 beq +0x14 /* 000057CC */
000057BA 2B5F F854 move.l [A5 - 0x7AC], [A7]+
000057BE 486D F854 pea.l [A5 - 0x7AC]
000057C2 486D F780 pea.l [A5 - 0x880]
000057C6 486D F87E pea.l [A5 - 0x782]
000057CA A8F9 syscall MapPt
label000057CC:
000057CC 4A5F tst.w [A7]+
000057CE 6712 beq +0x14 /* 000057E2 */
000057D0 2B5F F850 move.l [A5 - 0x7B0], [A7]+
000057D4 486D F850 pea.l [A5 - 0x7B0]
000057D8 486D F780 pea.l [A5 - 0x880]
000057DC 486D F87E pea.l [A5 - 0x782]
000057E0 A8F9 syscall MapPt
label000057E2:
000057E2 486D F850 pea.l [A5 - 0x7B0]
000057E6 2F00 move.l -[A7], D0
000057E8 206D F7FA movea.l A0, [A5 - 0x806]
000057EC 2F28 007A move.l -[A7], [A0 + 0x7A]
000057F0 A8EF syscall ScrollRect
000057F2 4ED3 jmp [A3]
fn000057F4:
000057F4 3400 move.w D2, D0
000057F6 5342 subq.w D2, 1
000057F8 052D F7EB btst [A5 - 0x815], D2
000057FC 6700 0028 beq +0x2A /* 00005826 */
00005800 6126 bsr +0x28 /* 00005828 */
00005802 052D F7EA btst [A5 - 0x816], D2
00005806 661E bne +0x20 /* 00005826 */
00005808 E54A lsl D2.w, 2
0000580A 41ED F7CE lea.l A0, [A5 - 0x832]
0000580E 4AB0 2000 tst.l [A0 + D2.w]
00005812 6712 beq +0x14 /* 00005826 */
00005814 2070 2000 movea.l A0, [A0 + D2.w]
00005818 3F02 move.w -[A7], D2
0000581A 05ED .incomplete
0000581C F7EA .invalid <<F/7/3>>
0000581E 4E90 jsr [A0]
00005820 341F move.w D2, [A7]+
00005822 05AD F7EA bclr [A5 - 0x816], D2
label00005826:
00005826 4E75 rts
fn00005828:
00005828 206D F7BE movea.l A0, [A5 - 0x842]
0000582C B1ED F7CA cmpa.l A0, [A5 - 0x836]
00005830 6504 bcs +0x6 /* 00005836 */
00005832 206D F7C6 movea.l A0, [A5 - 0x83A]
label00005836:
00005836 20C0 move.l [A0]+, D0
00005838 20C1 move.l [A0]+, D1
0000583A 2B48 F7BE move.l [A5 - 0x842], A0
0000583E B1ED F7C2 cmpa.l A0, [A5 - 0x83E]
00005842 6604 bne +0x6 /* 00005848 */
00005844 50AD F7C2 addq.l [A5 - 0x83E], 8
label00005848:
00005848 4E75 rts
export_35:
0000584A 4A80 tst.l D0
0000584C 6708 beq +0xA /* 00005856 */
0000584E 7000 moveq.l D0, 0x00
00005850 302D F82E move.w D0, [A5 - 0x7D2]
00005854 4E75 rts
label00005856:
00005856 7003 moveq.l D0, 0x03
00005858 4EBA 0116 jsr [PC + 0x116 /* 00005970 */]
0000585C 660A bne +0xC /* 00005868 */
0000585E 2B40 F82C move.l [A5 - 0x7D4], D0
00005862 4240 clr.w D0
00005864 4840 swap.w D0
00005866 4E75 rts
label00005868:
00005868 7000 moveq.l D0, 0x00
0000586A 4E75 rts
0000586C 2038 020C move.l D0, [0x0000020C /* Time */]
00005870 41ED FD98 lea.l A0, [A5 - 0x268]
00005874 A9C6 syscall SecondsToDate/Secs2Date
00005876 42AD FD9E clr.l [A5 - 0x262]
0000587A 426D FDA2 clr.w [A5 - 0x25E]
0000587E 41ED FD98 lea.l A0, [A5 - 0x268]
00005882 A9C7 syscall DateToSeconds/Date2Secs
00005884 2200 move.l D1, D0
00005886 2038 020C move.l D0, [0x0000020C /* Time */]
0000588A 9081 sub.l D0, D1
0000588C 4E75 rts
0000588E 4A80 tst.l D0
00005890 6620 bne +0x22 /* 000058B2 */
00005892 7002 moveq.l D0, 0x02
00005894 4EBA 00DA jsr [PC + 0xDA /* 00005970 */]
00005898 6614 bne +0x16 /* 000058AE */
0000589A 2200 move.l D1, D0
0000589C 4841 swap.w D1
0000589E D241 add.w D1, D1
000058A0 41ED F73A lea.l A0, [A5 - 0x8C6]
000058A4 3180 1000 move.w [A0 + D1.w], D0
000058A8 4240 clr.w D0
000058AA 4840 swap.w D0
000058AC 4E75 rts
label000058AE:
000058AE 7000 moveq.l D0, 0x00
000058B0 4E75 rts
label000058B2:
000058B2 0C40 0007 cmpi.w D0, 0x7
000058B6 6304 bls +0x6 /* 000058BC */
000058B8 7000 moveq.l D0, 0x00
000058BA 4E75 rts
label000058BC:
000058BC 0280 0000 FFFF andi.l D0, 0xFFFF
000058C2 D040 add.w D0, D0
000058C4 41ED F73A lea.l A0, [A5 - 0x8C6]
000058C8 3030 0000 move.w D0, [A0 + D0.w]
000058CC 4E75 rts
000058CE 0C40 0009 cmpi.w D0, 0x9 /* '\t' */
000058D2 6210 bhi +0x12 /* 000058E4 */
000058D4 D040 add.w D0, D0
000058D6 41FA 0010 lea.l A0, [PC + 0x10 /* 000058E8, value 0x50005A 'P\0Z', cstring "" */]
000058DA 3230 0000 move.w D1, [A0 + D0.w]
000058DE 7000 moveq.l D0, 0x00
000058E0 4EFB 1006 jmp [PC + D1.w + 0x6]
label000058E4:
000058E4 7000 moveq.l D0, 0x00
000058E6 4E75 rts
000058E8 0050 005A ori.w [A0], 0x5A /* 'Z' */
000058EC 0064 006C ori.w -[A4], 0x6C /* 'l' */
000058F0 0074 007E 0014 ori.w [A4 + D0.w + 0x14], 0x7E /* '~' */
000058F6 001C 0024 ori.b [A4]+, 0x24 /* '$' */
000058FA 0048 302D ori.w A0, 0x302D /* '0-' */
000058FE F786 .invalid <<F/6/3>>
00005900 5240 addq.w D0, 1
00005902 4E75 rts
00005904 302D F784 move.w D0, [A5 - 0x87C]
00005908 5240 addq.w D0, 1
0000590A 4E75 rts
0000590C 6106 bsr +0x8 /* 00005914 */
0000590E 302D F900 move.w D0, [A5 - 0x700]
00005912 4E75 rts
fn00005914:
00005914 206D F7FA movea.l A0, [A5 - 0x806]
00005918 2B68 0030 F8FE move.l [A5 - 0x702], [A0 + 0x30]
0000591E 486D F8FE pea.l [A5 - 0x702]
00005922 486D F87E pea.l [A5 - 0x782]
00005926 486D F780 pea.l [A5 - 0x880]
0000592A A8F9 syscall MapPt
0000592C 7000 moveq.l D0, 0x00
0000592E 4E75 rts
00005930 61E2 bsr -0x1C /* 00005914 */
00005932 302D F8FE move.w D0, [A5 - 0x702]
00005936 4E75 rts
00005938 206D F866 movea.l A0, [A5 - 0x79A]
0000593C 1028 0099 move.b D0, [A0 + 0x99]
00005940 4E75 rts
00005942 206D F7FA movea.l A0, [A5 - 0x806]
00005946 1028 0099 move.b D0, [A0 + 0x99]
0000594A 4E75 rts
0000594C 302D F884 move.w D0, [A5 - 0x77C]
00005950 5240 addq.w D0, 1
00005952 4E75 rts
00005954 302D F882 move.w D0, [A5 - 0x77E]
00005958 5240 addq.w D0, 1
0000595A 4E75 rts
0000595C 206D F7FA movea.l A0, [A5 - 0x806]
00005960 3028 0032 move.w D0, [A0 + 0x32]
00005964 4E75 rts
00005966 206D F7FA movea.l A0, [A5 - 0x806]
0000596A 3028 0030 move.w D0, [A0 + 0x30]
0000596E 4E75 rts
fn00005970:
00005970 206D F7C2 movea.l A0, [A5 - 0x83E]
label00005974:
00005974 B1ED F7BE cmpa.l A0, [A5 - 0x842]
00005978 6714 beq +0x16 /* 0000598E */
0000597A B028 0003 cmp.b D0, [A0 + 0x3]
0000597E 6712 beq +0x14 /* 00005992 */
00005980 5088 addq.l A0, 8
00005982 B1ED F7CA cmpa.l A0, [A5 - 0x836]
00005986 66EC bne -0x12 /* 00005974 */
00005988 206D F7C6 movea.l A0, [A5 - 0x83A]
0000598C 60E6 bra -0x18 /* 00005974 */
label0000598E:
0000598E 8040 or.w D0, D0
00005990 4E75 rts
label00005992:
00005992 2F10 move.l -[A7], [A0]
00005994 2F28 0004 move.l -[A7], [A0 + 0x4]
00005998 43E8 0008 lea.l A1, [A0 + 0x8]
label0000599C:
0000599C B3ED F7CA cmpa.l A1, [A5 - 0x836]
000059A0 6504 bcs +0x6 /* 000059A6 */
000059A2 226D F7C6 movea.l A1, [A5 - 0x83A]
label000059A6:
000059A6 B3ED F7BE cmpa.l A1, [A5 - 0x842]
000059AA 6710 beq +0x12 /* 000059BC */
000059AC 20D9 move.l [A0]+, [A1]+
000059AE 20D9 move.l [A0]+, [A1]+
000059B0 B1ED F7CA cmpa.l A0, [A5 - 0x836]
000059B4 65E6 bcs -0x18 /* 0000599C */
000059B6 206D F7C6 movea.l A0, [A5 - 0x83A]
000059BA 60E0 bra -0x1E /* 0000599C */
label000059BC:
000059BC 2B48 F7BE move.l [A5 - 0x842], A0
000059C0 201F move.l D0, [A7]+
000059C2 221F move.l D1, [A7]+
000059C4 003C 0004 ori.b ccr, 4
000059C8 4E75 rts
000059CA 50ED F81B st [A5 - 0x7E5]
000059CE 422D F81A clr.b [A5 - 0x7E6]
000059D2 245F movea.l A2, [A7]+
000059D4 3E1F move.w D7, [A7]+
000059D6 3C1F move.w D6, [A7]+
000059D8 4A5F tst.w [A7]+
000059DA 6718 beq +0x1A /* 000059F4 */
000059DC 08ED 0000 F81A bset.b [A5 - 0x7E6], 0x0
000059E2 2B5F F854 move.l [A5 - 0x7AC], [A7]+
000059E6 486D F854 pea.l [A5 - 0x7AC]
000059EA 486D F780 pea.l [A5 - 0x880]
000059EE 486D F87E pea.l [A5 - 0x782]
000059F2 A8F9 syscall MapPt
label000059F4:
000059F4 4A5F tst.w [A7]+
000059F6 6718 beq +0x1A /* 00005A10 */
000059F8 08ED 0001 F81A bset.b [A5 - 0x7E6], 0x1
000059FE 2B5F F850 move.l [A5 - 0x7B0], [A7]+
00005A02 486D F850 pea.l [A5 - 0x7B0]
00005A06 486D F780 pea.l [A5 - 0x880]
00005A0A 486D F87E pea.l [A5 - 0x782]
00005A0E A8F9 syscall MapPt
label00005A10:
00005A10 08ED 0002 F81A bset.b [A5 - 0x7E6], 0x2
00005A16 2A1F move.l D5, [A7]+
00005A18 660C bne +0xE /* 00005A26 */
00005A1A 08AD 0002 F81A bclr.b [A5 - 0x7E6], 0x2
00005A20 41ED 5D5A lea.l A0, [A5 + 0x5D5A /* export_2983 */]
00005A24 2A08 move.l D5, A0
label00005A26:
00005A26 381F move.w D4, [A7]+
00005A28 206D F7FA movea.l A0, [A5 - 0x806]
00005A2C 7000 moveq.l D0, 0x00
00005A2E 1028 0099 move.b D0, [A0 + 0x99]
00005A32 E948 lsl D0.w, 4
00005A34 206D F7EC movea.l A0, [A5 - 0x814]
00005A38 41F0 0004 lea.l A0, [A0 + D0.w + 0x4]
00005A3C 2648 movea.l A3, A0
00005A3E 50C3 st D3
label00005A40:
00005A40 2010 move.l D0, [A0]
00005A42 6700 00E6 beq +0xE8 /* 00005B2A */
00005A46 7600 moveq.l D3, 0x00
00005A48 2040 movea.l A0, D0
00005A4A 2200 move.l D1, D0
00005A4C 2050 movea.l A0, [A0]
00005A4E B868 0004 cmp.w D4, [A0 + 0x4]
00005A52 66EC bne -0x12 /* 00005A40 */
00005A54 2F0A move.l -[A7], A2
00005A56 2740 0008 move.l [A3 + 0x8], D0
00005A5A 2040 movea.l A0, D0
00005A5C 2F08 move.l -[A7], A0
00005A5E A029 syscall HLock
00005A60 2050 movea.l A0, [A0]
00005A62 082D 0000 F81A btst.b [A5 - 0x7E6], 0x0
00005A68 6738 beq +0x3A /* 00005AA2 */
00005A6A 48E7 00C0 movem.l -[A7], A0,A1
00005A6E 2B68 0008 F760 move.l [A5 - 0x8A0], [A0 + 0x8]
00005A74 2B68 000C F764 move.l [A5 - 0x89C], [A0 + 0xC]
00005A7A 0C28 0003 0006 cmpi.b [A0 + 0x6], 0x3
00005A80 6410 bcc +0x12 /* 00005A92 */
00005A82 536D F760 subq.w [A5 - 0x8A0], 1
00005A86 536D F762 subq.w [A5 - 0x89E], 1
00005A8A 526D F764 addq.w [A5 - 0x89C], 1
00005A8E 526D F766 addq.w [A5 - 0x89A], 1
label00005A92:
00005A92 486D F760 pea.l [A5 - 0x8A0]
00005A96 A8A3 syscall EraseRect
00005A98 4CDF 0300 movem.l A0,A1, [A7]+
00005A9C 216D F854 000C move.l [A0 + 0xC], [A5 - 0x7AC]
label00005AA2:
00005AA2 082D 0001 F81A btst.b [A5 - 0x7E6], 0x1
00005AA8 6706 beq +0x8 /* 00005AB0 */
00005AAA 216D F850 0008 move.l [A0 + 0x8], [A5 - 0x7B0]
label00005AB0:
00005AB0 082D 0002 F81A btst.b [A5 - 0x7E6], 0x2
00005AB6 671E beq +0x20 /* 00005AD6 */
00005AB8 2468 0012 movea.l A2, [A0 + 0x12]
00005ABC C14A exg A0, A2
00005ABE A023 syscall DisposHandle/DisposeHandle
00005AC0 2045 movea.l A0, D5
00005AC2 7000 moveq.l D0, 0x00
00005AC4 1018 move.b D0, [A0]+
00005AC6 3540 0010 move.w [A2 + 0x10], D0
00005ACA A9E3 syscall PtrToHand
00005ACC 6600 0056 bne +0x58 /* 00005B24 */
00005AD0 2548 0012 move.l [A2 + 0x12], A0
00005AD4 C14A exg A0, A2
label00005AD6:
00005AD6 4A06 tst.b D6
00005AD8 6704 beq +0x6 /* 00005ADE */
00005ADA 1146 0006 move.b [A0 + 0x6], D6
label00005ADE:
00005ADE 4A07 tst.b D7
00005AE0 6712 beq +0x14 /* 00005AF4 */
00005AE2 5307 subq.b D7, 1
00005AE4 670A beq +0xC /* 00005AF0 */
00005AE6 5307 subq.b D7, 1
00005AE8 6704 beq +0x6 /* 00005AEE */
00005AEA 7EFF moveq.l D7, 0xFFFFFFFF
00005AEC 6002 bra +0x4 /* 00005AF0 */
label00005AEE:
00005AEE 7E01 moveq.l D7, 0x01
label00005AF0:
00005AF0 1147 0007 move.b [A0 + 0x7], D7
label00005AF4:
00005AF4 50ED F75C st [A5 - 0x8A4]
00005AF8 206D F7FA movea.l A0, [A5 - 0x806]
00005AFC 7000 moveq.l D0, 0x00
00005AFE 1028 0099 move.b D0, [A0 + 0x99]
00005B02 671E beq +0x20 /* 00005B22 */
00005B04 E948 lsl D0.w, 4
00005B06 206D F7EC movea.l A0, [A5 - 0x814]
00005B0A 47F0 0000 lea.l A3, [A0 + D0.w]
00005B0E 2F2B 0008 move.l -[A7], [A3 + 0x8]
00005B12 A9D9 syscall TEDeactivate
00005B14 205F movea.l A0, [A7]+
00005B16 2050 movea.l A0, [A0]
00005B18 6100 E676 bsr -0x1988 /* 00004190 */
00005B1C 2F2B 0008 move.l -[A7], [A3 + 0x8]
00005B20 A9D8 syscall TEActivate
label00005B22:
00005B22 4E75 rts
label00005B24:
00005B24 2057 movea.l A0, [A7]
00005B26 A02A syscall HUnlock
00005B28 4E75 rts
label00005B2A:
00005B2A 2F0A move.l -[A7], A2
00005B2C 2248 movea.l A1, A0
00005B2E 4A43 tst.w D3
00005B30 6608 bne +0xA /* 00005B3A */
00005B32 2F01 move.l -[A7], D1
00005B34 2041 movea.l A0, D1
00005B36 A029 syscall HLock
00005B38 2250 movea.l A1, [A0]
label00005B3A:
00005B3A 203C 0000 0020 move.l D0, 0x20 /* ' ' */
00005B40 A322 syscall NewHandleClear, flags=3
00005B42 6600 009C bne +0x9E /* 00005BE0 */
00005B46 2288 move.l [A1], A0
00005B48 2748 0008 move.l [A3 + 0x8], A0
00005B4C 2F08 move.l -[A7], A0
00005B4E A029 syscall HLock
00005B50 2250 movea.l A1, [A0]
00005B52 4291 clr.l [A1]
00005B54 3344 0004 move.w [A1 + 0x4], D4
00005B58 1346 0006 move.b [A1 + 0x6], D6
00005B5C 6604 bne +0x6 /* 00005B62 */
00005B5E 5229 0006 addq.b [A1 + 0x6], 1
label00005B62:
00005B62 4A07 tst.b D7
00005B64 670E beq +0x10 /* 00005B74 */
00005B66 5307 subq.b D7, 1
00005B68 670A beq +0xC /* 00005B74 */
00005B6A 5307 subq.b D7, 1
00005B6C 6704 beq +0x6 /* 00005B72 */
00005B6E 7EFF moveq.l D7, 0xFFFFFFFF
00005B70 6002 bra +0x4 /* 00005B74 */
label00005B72:
00005B72 7E01 moveq.l D7, 0x01
label00005B74:
00005B74 1347 0007 move.b [A1 + 0x7], D7
00005B78 236D F850 0008 move.l [A1 + 0x8], [A5 - 0x7B0]
00005B7E 236D F854 000C move.l [A1 + 0xC], [A5 - 0x7AC]
00005B84 237C 0000 7FFF 0016 move.l [A1 + 0x16], 0x7FFF
00005B8C 2F09 move.l -[A7], A1
00005B8E 2045 movea.l A0, D5
00005B90 7000 moveq.l D0, 0x00
00005B92 1018 move.b D0, [A0]+
00005B94 3340 0010 move.w [A1 + 0x10], D0
00005B98 A9E3 syscall PtrToHand
00005B9A 225F movea.l A1, [A7]+
00005B9C 6642 bne +0x44 /* 00005BE0 */
00005B9E 2348 0012 move.l [A1 + 0x12], A0
00005BA2 205F movea.l A0, [A7]+
00005BA4 A02A syscall HUnlock
00005BA6 4A43 tst.w D3
00005BA8 6604 bne +0x6 /* 00005BAE */
00005BAA 205F movea.l A0, [A7]+
00005BAC A02A syscall HUnlock
label00005BAE:
00005BAE 206D F7FA movea.l A0, [A5 - 0x806]
00005BB2 7000 moveq.l D0, 0x00
00005BB4 1028 0099 move.b D0, [A0 + 0x99]
00005BB8 6720 beq +0x22 /* 00005BDA */
00005BBA E948 lsl D0.w, 4
00005BBC 206D F7EC movea.l A0, [A5 - 0x814]
00005BC0 47F0 0000 lea.l A3, [A0 + D0.w]
00005BC4 2F2B 0008 move.l -[A7], [A3 + 0x8]
00005BC8 A9D9 syscall TEDeactivate
00005BCA 206B 000C movea.l A0, [A3 + 0xC]
00005BCE 2050 movea.l A0, [A0]
00005BD0 6100 E5BE bsr -0x1A40 /* 00004190 */
00005BD4 2F2B 0008 move.l -[A7], [A3 + 0x8]
00005BD8 A9D8 syscall TEActivate
label00005BDA:
00005BDA 4E75 rts
00005BDC 205F movea.l A0, [A7]+
00005BDE A02A syscall HUnlock
label00005BE0:
00005BE0 4A43 tst.w D3
00005BE2 6604 bne +0x6 /* 00005BE8 */
00005BE4 205F movea.l A0, [A7]+
00005BE6 A02A syscall HUnlock
label00005BE8:
00005BE8 4E75 rts
00005BEA 2600 move.l D3, D0
00005BEC 206D F7FA movea.l A0, [A5 - 0x806]
00005BF0 7200 moveq.l D1, 0x00
00005BF2 1228 0099 move.b D1, [A0 + 0x99]
00005BF6 E949 lsl D1.w, 4
00005BF8 206D F7EC movea.l A0, [A5 - 0x814]
00005BFC 41F0 1000 lea.l A0, [A0 + D1.w]
00005C00 45E8 0004 lea.l A2, [A0 + 0x4]
label00005C04:
00005C04 2012 move.l D0, [A2]
00005C06 676A beq +0x6C /* 00005C72 */
00005C08 224A movea.l A1, A2
00005C0A 2440 movea.l A2, D0
00005C0C 2452 movea.l A2, [A2]
00005C0E B66A 0004 cmp.w D3, [A2 + 0x4]
00005C12 66F0 bne -0xE /* 00005C04 */
00005C14 2292 move.l [A1], [A2]
00005C16 B0A8 000C cmp.l D0, [A0 + 0xC]
00005C1A 6620 bne +0x22 /* 00005C3C */
00005C1C 4AA8 0004 tst.l [A0 + 0x4]
00005C20 671A beq +0x1C /* 00005C3C */
00005C22 48E7 80E0 movem.l -[A7], D0,A0,A1,A2
00005C26 2168 0004 000C move.l [A0 + 0xC], [A0 + 0x4]
00005C2C 2648 movea.l A3, A0
00005C2E 2068 000C movea.l A0, [A0 + 0xC]
00005C32 2050 movea.l A0, [A0]
00005C34 6100 E55A bsr -0x1AA4 /* 00004190 */
00005C38 4CDF 0701 movem.l D0,A0,A1,A2, [A7]+
label00005C3C:
00005C3C 2B6A 0008 F850 move.l [A5 - 0x7B0], [A2 + 0x8]
00005C42 2B6A 000C F854 move.l [A5 - 0x7AC], [A2 + 0xC]
00005C48 0C2A 0003 0006 cmpi.b [A2 + 0x6], 0x3
00005C4E 6410 bcc +0x12 /* 00005C60 */
00005C50 536D F850 subq.w [A5 - 0x7B0], 1
00005C54 536D F852 subq.w [A5 - 0x7AE], 1
00005C58 526D F854 addq.w [A5 - 0x7AC], 1
00005C5C 526D F856 addq.w [A5 - 0x7AA], 1
label00005C60:
00005C60 2640 movea.l A3, D0
00005C62 206A 0012 movea.l A0, [A2 + 0x12]
00005C66 A023 syscall DisposHandle/DisposeHandle
00005C68 486D F850 pea.l [A5 - 0x7B0]
00005C6C A8A3 syscall EraseRect
00005C6E 204B movea.l A0, A3
00005C70 A023 syscall DisposHandle/DisposeHandle
label00005C72:
00005C72 4E75 rts
label00005C74:
00005C74 0C40 0006 cmpi.w D0, 0x6
00005C78 6304 bls +0x6 /* 00005C7E */
00005C7A 7000 moveq.l D0, 0x00
00005C7C 4E75 rts
label00005C7E:
00005C7E 4A40 tst.w D0
00005C80 670E beq +0x10 /* 00005C90 */
00005C82 D040 add.w D0, D0
00005C84 41ED F6E2 lea.l A0, [A5 - 0x91E]
00005C88 3030 0000 move.w D0, [A0 + D0.w]
00005C8C 48C0 ext.l D0
00005C8E 4E75 rts
label00005C90:
00005C90 486D F8FE pea.l [A5 - 0x702]
00005C94 A972 syscall GetMouse
00005C96 2B6D F8FE F6E4 move.l [A5 - 0x91C], [A5 - 0x702]
00005C9C 202D F6DE move.l D0, [A5 - 0x922]
00005CA0 2B40 F6E8 move.l [A5 - 0x918], D0
00005CA4 202D F6DA move.l D0, [A5 - 0x926]
00005CA8 2B40 F6EC move.l [A5 - 0x914], D0
00005CAC 486D F6E4 pea.l [A5 - 0x91C]
00005CB0 486D F87E pea.l [A5 - 0x782]
00005CB4 486D F780 pea.l [A5 - 0x880]
00005CB8 A8F9 syscall MapPt
00005CBA 486D F6E8 pea.l [A5 - 0x918]
00005CBE 486D F87E pea.l [A5 - 0x782]
00005CC2 486D F780 pea.l [A5 - 0x880]
00005CC6 A8F9 syscall MapPt
00005CC8 486D F6EC pea.l [A5 - 0x914]
00005CCC 486D F87E pea.l [A5 - 0x782]
00005CD0 486D F780 pea.l [A5 - 0x880]
00005CD4 A8F9 syscall MapPt
00005CD6 202D F6E4 move.l D0, [A5 - 0x91C]
00005CDA 4840 swap.w D0
00005CDC 2B40 F6E4 move.l [A5 - 0x91C], D0
00005CE0 202D F6E8 move.l D0, [A5 - 0x918]
00005CE4 4840 swap.w D0
00005CE6 2B40 F6E8 move.l [A5 - 0x918], D0
00005CEA 202D F6EC move.l D0, [A5 - 0x914]
00005CEE 4840 swap.w D0
00005CF0 2B40 F6EC move.l [A5 - 0x914], D0
00005CF4 7004 moveq.l D0, 0x04
00005CF6 6100 FC78 bsr -0x386 /* 00005970 */
00005CFA 6614 bne +0x16 /* 00005D10 */
00005CFC 2F00 move.l -[A7], D0
00005CFE 3B40 F6E2 move.w [A5 - 0x91E], D0
00005D02 558F subq.l A7, 2
00005D04 A973 syscall StillDown
00005D06 4A1F tst.b [A7]+
00005D08 6702 beq +0x4 /* 00005D0C */
00005D0A 4497 neg.l [A7]
label00005D0C:
00005D0C 201F move.l D0, [A7]+
00005D0E 4E75 rts
label00005D10:
00005D10 558F subq.l A7, 2
00005D12 A973 syscall StillDown
00005D14 7000 moveq.l D0, 0x00
00005D16 4A1F tst.b [A7]+
00005D18 6706 beq +0x8 /* 00005D20 */
00005D1A 302D F6E2 move.w D0, [A5 - 0x91E]
00005D1E 4480 neg.l D0
label00005D20:
00005D20 4E75 rts
00005D22 2B6D F8F8 F6DA move.l [A5 - 0x926], [A5 - 0x708]
00005D28 486D F6DA pea.l [A5 - 0x926]
00005D2C A871 syscall GlobalToLocal
00005D2E 6000 E0DA bra -0x1F24 /* 00003E0A */
00005D32 0000 0000 ori.b D0, 0x0
00005D36 0000 0000 ori.b D0, 0x0
00005D3A 0064 0064 ori.w -[A4], 0x64 /* 'd' */
00005D3E 0130 0200 btst [A0 + D0.w * 2], D0
00005D42 0019 0004 ori.b [A1]+, 0x4
00005D46 0152 bchg [A2], D0
00005D48 01FC .incomplete
00005D4A 0000 0000 ori.b D0, 0x0
00005D4E 03E8 .incomplete
00005D50 03E8 .incomplete
00005D52 0000 FFFB ori.b D0, 0xFB
00005D56 0096 01B5 0000 ori.l [A6], 0x1B50000
00005D5C 0000 0B45 ori.b D0, 0x45 /* 'E' */
00005D60 6469 bcc +0x6B /* 00005DCB */
00005D62 7420 moveq.l D2, 0x20
00005D64 5769 6E64 subq.w [A1 + 0x6E64], 3
00005D68 6F77 ble +0x79 /* 00005DE1 */
00005D6A 0E43 6F6D .invalid.w D3, 0x6F6D /* 'om' */ // invalid immediate operation
00005D6E 6D61 blt +0x63 /* 00005DD1 */
00005D70 6E64 bgt +0x66 /* 00005DD6 */
00005D72 2057 movea.l A0, [A7]
00005D74 696E bvs +0x70 /* 00005DE4 */
00005D76 646F bcc +0x71 /* 00005DE7 */
00005D78 7700 moveq.l D3, 0x00
00005D7A 1250 movea.b A1, [A0]
00005D7C 7269 moveq.l D1, 0x69
00005D7E 6E74 bgt +0x76 /* 00005DF4 */
00005D80 6572 bcs +0x74 /* 00005DF4 */
00005D82 2046 movea.l A0, D6
00005D84 696C bvs +0x6E /* 00005DF2 */
00005D86 6520 bcs +0x22 /* 00005DA8 */
00005D88 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00005D8C 7200 moveq.l D1, 0x00
00005D8E 1453 movea.b A2, [A3]
00005D90 6567 bcs +0x69 /* 00005DF9 */
00005D92 6D65 blt +0x67 /* 00005DF9 */
00005D94 6E74 bgt +0x76 /* 00005E0A */
00005D96 2055 movea.l A0, [A5]
00005D98 6E6C bgt +0x6E /* 00005E06 */
00005D9A 6F61 ble +0x63 /* 00005DFD */
00005D9C 6420 bcc +0x22 /* 00005DBE */
00005D9E 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00005DA2 7200 moveq.l D1, 0x00
00005DA4 124E movea.b A1, A6
00005DA6 6F20 ble +0x22 /* 00005DC8 */
label00005DA8:
00005DA8 4865 pea.l -[A5]
00005DAA 6C70 bge +0x72 /* 00005E1C */
00005DAC 2041 movea.l A0, D1
00005DAE 7661 moveq.l D3, 0x61
00005DB0 696C bvs +0x6E /* 00005E1E */
00005DB2 6162 bsr +0x64 /* 00005E16 */
00005DB4 6C65 bge +0x67 /* 00005E1B */
00005DB6 2E00 move.l D7, D0
00005DB8 0855 6E74 bchg.b [A5], 0x74 /* 't' */
00005DBC 6974 bvs +0x76 /* 00005E32 */
label00005DBE:
00005DBE 6C65 bge +0x67 /* 00005E25 */
00005DC0 6400 0000 bcc +0x2 /* 00005DC2 */
// begin alternate branch 00005DC2-00005DC8
label00005DC2:
00005DC2 0000 0000 ori.b D0, 0x0
00005DC6 00CC .incomplete
// end alternate branch 00005DC2-00005DC8
label00005DC2: // (misaligned)
00005DC4 0000 00CC ori.b D0, 0xCC
label00005DC8:
00005DC8 015D bchg [A5]+, D0
00005DCA 0228 2D00 0445 andi.b [A0 + 0x445], 0x0
00005DD0 6469 bcc +0x6B /* 00005E3B */
00005DD2 7400 moveq.l D2, 0x00
00005DD4 0655 6E64 addi.w [A5], 0x6E64 /* 'nd' */
// begin alternate branch 00005DD6-00005DD8
label00005DD6:
00005DD6 6E64 bgt +0x66 /* 00005E3C */
// end alternate branch 00005DD6-00005DD8
label00005DD6: // (misaligned)
00005DD8 6F2F ble +0x31 /* 00005E09 */
00005DDA 5A00 addq.b D0, 5
00005DDC 0543 bchg D3, D2
00005DDE 7574 moveq.l D2, 0x74
00005DE0 2F58 0643 move.l [A7 + 0x643], [A0]+
label00005DE4:
00005DE4 6F70 ble +0x72 /* 00005E56 */
00005DE6 792F moveq.l D4, 0x2F
00005DE8 4300 .invalid 1, D0 // invalid opcode 4 with b == 4
00005DEA 0750 bchg [A0], D3
00005DEC 6173 bsr +0x75 /* 00005E61 */
00005DEE 7465 moveq.l D2, 0x65
00005DF0 2F56 0543 move.l [A7 + 0x543], [A6]
// begin alternate branch 00005DF2-00005DF4
label00005DF2:
00005DF2 0543 bchg D3, D2
// end alternate branch 00005DF2-00005DF4
label00005DF2: // (misaligned)
label00005DF4:
00005DF4 6C65 bge +0x67 /* 00005E5B */
00005DF6 6172 bsr +0x74 /* 00005E6A */
00005DF8 174D 6F75 move.b [A3 + 0x6F75], A5
00005DFC 7365 moveq.l D1, 0x65
00005DFE 2043 movea.l A0, D3
00005E00 6C69 bge +0x6B /* 00005E6B */
00005E02 636B bls +0x6D /* 00005E6F */
00005E04 6564 bcs +0x66 /* 00005E6A */
label00005E06:
00005E06 2049 movea.l A0, A1
00005E08 6E20 bgt +0x22 /* 00005E2A */
label00005E0A:
00005E0A 5769 6E64 subq.w [A1 + 0x6E64], 3
00005E0E 6F77 ble +0x79 /* 00005E87 */
00005E10 1555 7064 move.b [A2 + 0x7064], [A5]
00005E14 6174 bsr +0x76 /* 00005E8A */
fn00005E16:
00005E16 6520 bcs +0x22 /* 00005E38 */
00005E18 4576 656E chk.w D2, <<invalid full ext with IS == 1 and I/IS == 6>>
label00005E1C:
00005E1C 7420 moveq.l D2, 0x20
label00005E1E:
00005E1E 4F63 chk.w D7, -[A3]
00005E20 6375 bls +0x77 /* 00005E97 */
00005E22 7272 moveq.l D1, 0x72
00005E24 6564 bcs +0x66 /* 00005E8A */
00005E26 1644 movea.b A3, D4
00005E28 6561 bcs +0x63 /* 00005E8B */
label00005E2A:
00005E2A 6C6F bge +0x71 /* 00005E9B */
00005E2C 6361 bls +0x63 /* 00005E8F */
00005E2E 7469 moveq.l D2, 0x69
00005E30 6E67 bgt +0x69 /* 00005E99 */
label00005E32:
00005E32 204F movea.l A0, A7
00005E34 6464 bcc +0x66 /* 00005E9A */
00005E36 2048 movea.l A0, A0
label00005E38:
00005E38 616E bsr +0x70 /* 00005EA8 */
00005E3A 646C bcc +0x6E /* 00005EA8 */
label00005E3C:
00005E3C 6517 bcs +0x19 /* 00005E55 */
00005E3E 4163 chk.w D0, -[A3]
00005E40 7469 moveq.l D2, 0x69
00005E42 7661 moveq.l D3, 0x61
00005E44 7465 moveq.l D2, 0x65
00005E46 2045 movea.l A0, D5
00005E48 7665 moveq.l D3, 0x65
00005E4A 6E74 bgt +0x76 /* 00005EC0 */
00005E4C 204F movea.l A0, A7
00005E4E 6363 bls +0x65 /* 00005EB3 */
00005E50 7572 moveq.l D2, 0x72
00005E52 7265 moveq.l D1, 0x65
00005E54 6419 bcc +0x1B /* 00005E6F */
label00005E56:
00005E56 4368 6563 chk.w D1, [A0 + 0x6563]
00005E5A 6B69 bmi +0x6B /* 00005EC5 */
00005E5C 6E67 bgt +0x69 /* 00005EC5 */
00005E5E 2065 movea.l A0, -[A5]
00005E60 7665 moveq.l D3, 0x65
00005E62 6E74 bgt +0x76 /* 00005ED8 */
00005E64 7320 moveq.l D1, 0x20
00005E66 4020 negx.b -[A0]
00005E68 4765 chk.w D3, -[A5]
fn00005E6A:
00005E6A 7465 moveq.l D2, 0x65
00005E6C 7674 moveq.l D3, 0x74
00005E6E 3212 move.w D1, [A2]
00005E70 4E75 rts
00005E72 6C6C bge +0x6E /* 00005EE0 */
00005E74 2052 movea.l A0, [A2]
00005E76 756E moveq.l D2, 0x6E
00005E78 7469 moveq.l D2, 0x69
00005E7A 6D65 blt +0x67 /* 00005EE1 */
00005E7C 2045 movea.l A0, D5
00005E7E 7665 moveq.l D3, 0x65
00005E80 6E74 bgt +0x76 /* 00005EF6 */
export_37:
fn00005E82:
00005E82 206D FEE8 movea.l A0, [A5 - 0x118]
00005E86 3E18 move.w D7, [A0]+
00005E88 7000 moveq.l D0, 0x00
fn00005E8A:
00005E8A 3018 move.w D0, [A0]+
00005E8C 0440 8000 subi.w D0, 0x8000
00005E90 6B5E bmi +0x60 /* 00005EF0 */
00005E92 0C40 000A cmpi.w D0, 0xA /* '\n' */
00005E96 644A bcc +0x4C /* 00005EE2 */
00005E98 5488 addq.l A0, 2
label00005E9A:
00005E9A 3600 move.w D3, D0
00005E9C 0243 0003 andi.w D3, 0x3
00005EA0 E448 lsr D0.w, 2
00005EA2 670A beq +0xC /* 00005EAE */
00005EA4 5340 subq.w D0, 1
00005EA6 6704 beq +0x6 /* 00005EAC */
fn00005EA8:
00005EA8 7000 moveq.l D0, 0x00
00005EAA 610E bsr +0x10 /* 00005EBA */
label00005EAC:
00005EAC 610C bsr +0xE /* 00005EBA */
label00005EAE:
00005EAE 3403 move.w D2, D3
00005EB0 610A bsr +0xC /* 00005EBC */
00005EB2 4A47 tst.w D7
00005EB4 6702 beq +0x4 /* 00005EB8 */
00005EB6 4480 neg.l D0
label00005EB8:
00005EB8 4E75 rts
fn00005EBA:
00005EBA 7403 moveq.l D2, 0x03
fn00005EBC:
00005EBC 3218 move.w D1, [A0]+
00005EBE 4841 swap.w D1
label00005EC0:
00005EC0 E999 rol D1, 4
00005EC2 0241 000F andi.w D1, 0xF
00005EC6 D080 add.l D0, D0
00005EC8 2800 move.l D4, D0
00005ECA E588 lsl D0, 2
00005ECC D084 add.l D0, D4
00005ECE D041 add.w D0, D1
00005ED0 55CA FFEE dbcs D2, -0x14 /* 00005EC0 */
00005ED4 640A bcc +0xC /* 00005EE0 */
00005ED6 0680 0001 0000 addi.l D0, 0x10000
// begin alternate branch 00005ED8-00005EDC
label00005ED8:
00005ED8 0001 0000 ori.b D1, 0x0
// end alternate branch 00005ED8-00005EDC
label00005ED8: // (misaligned)
00005EDC 51CA FFE2 dbf D2, -0x20 /* 00005EC0 */
label00005EE0:
00005EE0 4E75 rts
label00005EE2:
00005EE2 203C 7FFF FFFF move.l D0, 0x7FFFFFFF
00005EE8 4A47 tst.w D7
00005EEA 6702 beq +0x4 /* 00005EEE */
00005EEC 5280 addq.l D0, 1
label00005EEE:
00005EEE 4E75 rts
label00005EF0:
00005EF0 7000 moveq.l D0, 0x00
label00005EF2:
00005EF2 4E75 rts
export_62:
fn00005EF4:
00005EF4 4EBA 0468 jsr [PC + 0x468 /* 0000635E */]
// begin alternate branch 00005EF6-00005EFC
label00005EF6:
00005EF6 0468 206D FEE8 subi.w [A0 - 0x118], 0x206D /* ' m' */
// end alternate branch 00005EF6-00005EFC
label00005EF6: // (misaligned)
00005EF8 206D FEE8 movea.l A0, [A5 - 0x118]
00005EFC 4A80 tst.l D0
00005EFE 67F2 beq -0xC /* 00005EF2 */
00005F00 6A06 bpl +0x8 /* 00005F08 */
00005F02 30BC 8000 move.w [A0], 0x8000
00005F06 4480 neg.l D0
label00005F08:
00005F08 5488 addq.l A0, 2
00005F0A 43FA AB3E lea.l A1, [PC - 0x54C2 /* 00000A4A, value 0x3B9ACA00 */]
00005F0E 323C 8009 move.w D1, 0x8009
label00005F12:
00005F12 2419 move.l D2, [A1]+
00005F14 B082 cmp.l D0, D2
00005F16 54C9 FFFA dbcc D1, -0x8 /* 00005F12 */
00005F1A 3081 move.w [A0], D1
00005F1C 5888 addq.l A0, 4
label00005F1E:
00005F1E 7603 moveq.l D3, 0x03
00005F20 4244 clr.w D4
label00005F22:
00005F22 E94C lsl D4.w, 4
label00005F24:
00005F24 5244 addq.w D4, 1
00005F26 9082 sub.l D0, D2
00005F28 64FA bcc -0x4 /* 00005F24 */
00005F2A D082 add.l D0, D2
00005F2C 5344 subq.w D4, 1
00005F2E 2419 move.l D2, [A1]+
00005F30 57CB FFF0 dbeq D3, -0x12 /* 00005F22 */
00005F34 6706 beq +0x8 /* 00005F3C */
00005F36 30C4 move.w [A0]+, D4
00005F38 60E4 bra -0x1A /* 00005F1E */
label00005F3A:
00005F3A E98C lsl D4, 4
label00005F3C:
00005F3C 51CB FFFC dbf D3, -0x6 /* 00005F3A */
00005F40 3084 move.w [A0], D4
00005F42 4E75 rts
00005F44 4EBA 023A jsr [PC + 0x23A /* 00006180 */]
00005F48 206D FEF4 movea.l A0, [A5 - 0x10C]
00005F4C 2F08 move.l -[A7], A0
00005F4E 610E bsr +0x10 /* 00005F5E */
00005F50 2608 move.l D3, A0
00005F52 205F movea.l A0, [A7]+
00005F54 9688 sub.l D3, A0
00005F56 4EBA B1AE jsr [PC - 0x4E52 /* 00001106 */]
00005F5A 4EFA D9E2 jmp [PC - 0x261E /* 0000393E */]
fn00005F5E:
00005F5E 10BC 0020 move.b [A0], 0x20 /* ' ' */
00005F62 117C 0030 0001 move.b [A0 + 0x1], 0x30 /* '0' */
00005F68 226D FEE8 movea.l A1, [A5 - 0x118]
00005F6C 4A69 0006 tst.w [A1 + 0x6]
00005F70 6604 bne +0x6 /* 00005F76 */
00005F72 5488 addq.l A0, 2
00005F74 4E75 rts
label00005F76:
00005F76 103C 0020 move.b D0, 0x20 /* ' ' */
00005F7A 4A59 tst.w [A1]+
00005F7C 6A04 bpl +0x6 /* 00005F82 */
00005F7E 103C 002D move.b D0, 0x2D /* '-' */
label00005F82:
00005F82 10C0 move.b [A0]+, D0
00005F84 302D FEC4 move.w D0, [A5 - 0x13C]
00005F88 45F1 0003 lea.l A2, [A1 + D0.w + 0x3]
00005F8C 382D FED0 move.w D4, [A5 - 0x130]
00005F90 5844 addq.w D4, 4
label00005F92:
00005F92 5944 subq.w D4, 4
00005F94 3222 move.w D1, -[A2]
00005F96 67FA beq -0x4 /* 00005F92 */
00005F98 4841 swap.w D1
00005F9A 4241 clr.w D1
label00005F9C:
00005F9C 5344 subq.w D4, 1
00005F9E E899 ror D1, 4
00005FA0 4A41 tst.w D1
00005FA2 67F8 beq -0x6 /* 00005F9C */
00005FA4 3019 move.w D0, [A1]+
00005FA6 5489 addq.l A1, 2
00005FA8 3619 move.w D3, [A1]+
00005FAA 4843 swap.w D3
00005FAC 7403 moveq.l D2, 0x03
00005FAE 0440 8000 subi.w D0, 0x8000
00005FB2 6B0E bmi +0x10 /* 00005FC2 */
00005FB4 0C40 000B cmpi.w D0, 0xB
00005FB8 6A28 bpl +0x2A /* 00005FE2 */
00005FBA B044 cmp.w D0, D4
00005FBC 6518 bcs +0x1A /* 00005FD6 */
00005FBE 3800 move.w D4, D0
00005FC0 6014 bra +0x16 /* 00005FD6 */
label00005FC2:
00005FC2 0C40 FFFE cmpi.w D0, 0xFFFE
00005FC6 6D1A blt +0x1C /* 00005FE2 */
00005FC8 10FC 002E move.b [A0]+, 0x2E /* '.' */
00005FCC 5240 addq.w D0, 1
00005FCE 6704 beq +0x6 /* 00005FD4 */
00005FD0 10FC 0030 move.b [A0]+, 0x30 /* '0' */
label00005FD4:
00005FD4 70FE moveq.l D0, 0xFFFFFFFE
label00005FD6:
00005FD6 6132 bsr +0x34 /* 0000600A */
00005FD8 51CC FFFC dbf D4, -0x6 /* 00005FD6 */
00005FDC 10BC 0000 move.b [A0], 0x0
00005FE0 4E75 rts
label00005FE2:
00005FE2 3F00 move.w -[A7], D0
00005FE4 7000 moveq.l D0, 0x00
label00005FE6:
00005FE6 6122 bsr +0x24 /* 0000600A */
00005FE8 51CC FFFC dbf D4, -0x6 /* 00005FE6 */
label00005FEC:
00005FEC 10FC 0045 move.b [A0]+, 0x45 /* 'E' */
00005FF0 301F move.w D0, [A7]+
00005FF2 722B moveq.l D1, 0x2B
00005FF4 48C0 ext.l D0
00005FF6 6A04 bpl +0x6 /* 00005FFC */
00005FF8 722D moveq.l D1, 0x2D
00005FFA 4480 neg.l D0
label00005FFC:
00005FFC 10C1 move.b [A0]+, D1
00005FFE 7208 moveq.l D1, 0x08
00006000 4EBA AA84 jsr [PC - 0x557C /* 00000A86 */]
00006004 10BC 0000 move.b [A0], 0x0
00006008 4E75 rts
fn0000600A:
0000600A 0C40 FFFF cmpi.w D0, 0xFFFF
0000600E 6604 bne +0x6 /* 00006014 */
00006010 10FC 002E move.b [A0]+, 0x2E /* '.' */
label00006014:
00006014 363C 0003 move.w D3, 0x3
00006018 E99B rol D3, 4
0000601A 10C3 move.b [A0]+, D3
0000601C 51CA 0008 dbf D2, +0xA /* 00006026 */
00006020 3619 move.w D3, [A1]+
00006022 4843 swap.w D3
00006024 7403 moveq.l D2, 0x03
label00006026:
00006026 5340 subq.w D0, 1
00006028 4E75 rts
fn0000602A:
0000602A 1018 move.b D0, [A0]+
0000602C 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
00006030 67F8 beq -0x6 /* 0000602A */
00006032 0C00 002B cmpi.b D0, 0x2B /* '+' */
00006036 670E beq +0x10 /* 00006046 */
00006038 0C00 002D cmpi.b D0, 0x2D /* '-' */
0000603C 6606 bne +0x8 /* 00006044 */
0000603E 303C 8000 move.w D0, 0x8000
00006042 4E75 rts
label00006044:
00006044 5388 subq.l A0, 1
label00006046:
00006046 4280 clr.l D0
00006048 4E75 rts
0000604A 43ED FDC4 lea.l A1, [A5 - 0x23C]
0000604E 7000 moveq.l D0, 0x00
00006050 1018 move.b D0, [A0]+
label00006052:
00006052 12D8 move.b [A1]+, [A0]+
00006054 51C8 FFFC dbf D0, -0x6 /* 00006052 */
00006058 4221 clr.b -[A1]
0000605A 41ED FDC4 lea.l A0, [A5 - 0x23C]
0000605E 0C10 0026 cmpi.b [A0], 0x26 /* '&' */
00006062 6608 bne +0xA /* 0000606C */
00006064 4EBA AA7C jsr [PC - 0x5584 /* 00000AE2 */]
00006068 6000 FE8A bra -0x174 /* 00005EF4 */
fn0000606C:
0000606C 4EBA 02F0 jsr [PC + 0x2F0 /* 0000635E */]
00006070 61B8 bsr -0x46 /* 0000602A */
00006072 226D FEE8 movea.l A1, [A5 - 0x118]
00006076 32C0 move.w [A1]+, D0
00006078 2649 movea.l A3, A1
0000607A 32FC FFFF move.w [A1]+, 0xFFFF
0000607E 4259 clr.w [A1]+
00006080 4240 clr.w D0
00006082 7200 moveq.l D1, 0x00
00006084 7600 moveq.l D3, 0x00
label00006086:
00006086 4241 clr.w D1
00006088 7403 moveq.l D2, 0x03
label0000608A:
0000608A 1018 move.b D0, [A0]+
0000608C 0C00 002E cmpi.b D0, 0x2E /* '.' */
00006090 6606 bne +0x8 /* 00006098 */
00006092 08C1 0014 bset.b D1, 0x14
00006096 60F2 bra -0xC /* 0000608A */
label00006098:
00006098 0C00 0045 cmpi.b D0, 0x45 /* 'E' */
0000609C 672E beq +0x30 /* 000060CC */
0000609E 0C00 0044 cmpi.b D0, 0x44 /* 'D' */
000060A2 6728 beq +0x2A /* 000060CC */
000060A4 0400 0030 subi.b D0, 0x30 /* '0' */
000060A8 6534 bcs +0x36 /* 000060DE */
000060AA 0C00 000A cmpi.b D0, 0xA /* '\n' */
000060AE 642E bcc +0x30 /* 000060DE */
000060B0 E949 lsl D1.w, 4
000060B2 8240 or.w D1, D0
000060B4 0801 0014 btst.b D1, 0x14
000060B8 6602 bne +0x4 /* 000060BC */
000060BA 5253 addq.w [A3], 1
label000060BC:
000060BC 51CA FFCC dbf D2, -0x36 /* 0000608A */
000060C0 8641 or.w D3, D1
000060C2 6604 bne +0x6 /* 000060C8 */
000060C4 5953 subq.w [A3], 4
000060C6 60BE bra -0x40 /* 00006086 */
label000060C8:
000060C8 32C1 move.w [A1]+, D1
000060CA 60BA bra -0x44 /* 00006086 */
label000060CC:
000060CC E949 lsl D1.w, 4
000060CE 51CA FFFC dbf D2, -0x6 /* 000060CC */
000060D2 3281 move.w [A1], D1
000060D4 2F0B move.l -[A7], A3
000060D6 4EBA AA0A jsr [PC - 0x55F6 /* 00000AE2 */]
000060DA 265F movea.l A3, [A7]+
000060DC 600C bra +0xE /* 000060EA */
label000060DE:
000060DE E949 lsl D1.w, 4
000060E0 51CA FFFC dbf D2, -0x6 /* 000060DE */
000060E4 3281 move.w [A1], D1
000060E6 7000 moveq.l D0, 0x00
000060E8 5388 subq.l A0, 1
label000060EA:
000060EA 0640 8000 addi.w D0, 0x8000
000060EE D153 add.w [A3], D0
000060F0 2F08 move.l -[A7], A0
000060F2 4EBA 0006 jsr [PC + 0x6 /* 000060FA */]
000060F6 205F movea.l A0, [A7]+
000060F8 4E75 rts
fn000060FA:
000060FA 246D FEE8 movea.l A2, [A5 - 0x118]
000060FE 204A movea.l A0, A2
00006100 548A addq.l A2, 2
00006102 5888 addq.l A0, 4
00006104 4A58 tst.w [A0]+
00006106 6718 beq +0x1A /* 00006120 */
00006108 5852 addq.w [A2], 4
0000610A 302D FECA move.w D0, [A5 - 0x136]
0000610E 5240 addq.w D0, 1
00006110 2648 movea.l A3, A0
00006112 D6C0 add.w A3, D0
00006114 D6C0 add.w A3, D0
label00006116:
00006116 3763 0002 move.w [A3 + 0x2], -[A3]
0000611A 51C8 FFFA dbf D0, -0x8 /* 00006116 */
0000611E 4253 clr.w [A3]
label00006120:
00006120 3010 move.w D0, [A0]
00006122 6628 bne +0x2A /* 0000614C */
00006124 302D FECA move.w D0, [A5 - 0x136]
00006128 5240 addq.w D0, 1
label0000612A:
0000612A 4A58 tst.w [A0]+
0000612C 660A bne +0xC /* 00006138 */
0000612E 5952 subq.w [A2], 4
00006130 51C8 FFF8 dbf D0, -0xA /* 0000612A */
00006134 4EFA 0228 jmp [PC + 0x228 /* 0000635E */]
label00006138:
00006138 43EA 0004 lea.l A1, [A2 + 0x4]
0000613C 5588 subq.l A0, 2
label0000613E:
0000613E 32D0 move.w [A1]+, [A0]
00006140 4258 clr.w [A0]+
00006142 51C8 FFFA dbf D0, -0x8 /* 0000613E */
00006146 41EA 0004 lea.l A0, [A2 + 0x4]
0000614A 3010 move.w D0, [A0]
label0000614C:
0000614C 0C40 1000 cmpi.w D0, 0x1000
00006150 643A bcc +0x3C /* 0000618C */
00006152 7410 moveq.l D2, 0x10
00006154 7600 moveq.l D3, 0x00
00006156 5952 subq.w [A2], 4
label00006158:
00006158 5942 subq.w D2, 4
0000615A 5843 addq.w D3, 4
0000615C 5252 addq.w [A2], 1
0000615E E848 lsr D0.w, 4
00006160 66F6 bne -0x8 /* 00006158 */
00006162 2648 movea.l A3, A0
00006164 302D FECA move.w D0, [A5 - 0x136]
00006168 5440 addq.w D0, 2
0000616A D6C0 add.w A3, D0
0000616C D6C0 add.w A3, D0
0000616E 5488 addq.l A0, 2
00006170 7200 moveq.l D1, 0x00
label00006172:
00006172 3223 move.w D1, -[A3]
00006174 E5B9 rol D1, D2
00006176 3681 move.w [A3], D1
00006178 E7B9 rol D1, D3
0000617A 51C8 FFF6 dbf D0, -0xC /* 00006172 */
0000617E 600C bra +0xE /* 0000618C */
fn00006180:
00006180 302D FEC4 move.w D0, [A5 - 0x13C]
fn00006184:
00006184 142D FEC9 move.b D2, [A5 - 0x137]
00006188 5540 subq.w D0, 2
0000618A 6008 bra +0xA /* 00006194 */
label0000618C:
0000618C 302D FEC4 move.w D0, [A5 - 0x13C]
00006190 5340 subq.w D0, 1
00006192 7450 moveq.l D2, 0x50
label00006194:
00006194 246D FEE8 movea.l A2, [A5 - 0x118]
00006198 45F2 0007 lea.l A2, [A2 + D0.w + 0x7]
0000619C 1212 move.b D1, [A2]
0000619E 4212 clr.b [A2]
000061A0 C501 abcd D2, D1
000061A2 6414 bcc +0x16 /* 000061B8 */
label000061A4:
000061A4 47FA 002C lea.l A3, [PC + 0x2C /* 000061D2, value 0x246DFEE8 */]
000061A8 C50B abcd -[A2], -[A3]
000061AA 54C8 FFF8 dbcc D0, -0xA /* 000061A4 */
000061AE 6408 bcc +0xA /* 000061B8 */
000061B0 34BC 1000 move.w [A2], 0x1000
000061B4 598A subq.l A2, 4
000061B6 5252 addq.w [A2], 1
label000061B8:
000061B8 246D FEE8 movea.l A2, [A5 - 0x118]
000061BC 548A addq.l A2, 2
000061BE 3012 move.w D0, [A2]
000061C0 0C40 BFFF cmpi.w D0, 0xBFFF
000061C4 640C bcc +0xE /* 000061D2 */
000061C6 0C40 4000 cmpi.w D0, 0x4000 /* '@\0' */
000061CA 6500 0192 bcs +0x194 /* 0000635E */
000061CE 4E75 rts
000061D0 0000 246D ori.b D0, 0x6D /* 'm' */
// begin alternate branch 000061D2-000061D8
label000061D2:
000061D2 246D FEE8 movea.l A2, [A5 - 0x118]
000061D6 548A addq.l A2, 2
// end alternate branch 000061D2-000061D8
label000061D2: // (misaligned)
000061D4 FEE8 548A .extension 0xEE8 <<F/2-3/7>> // unimplemented
000061D8 24FC BFFF 0000 move.l [A2]+, 0xBFFF0000
000061DE 3E2D FECA move.w D7, [A5 - 0x136]
label000061E2:
000061E2 34FC 9999 move.w [A2]+, 0x9999
000061E6 51CF FFFA dbf D7, -0x8 /* 000061E2 */
000061EA 4E75 rts
fn000061EC:
000061EC 302D FEC6 move.w D0, [A5 - 0x13A]
000061F0 5240 addq.w D0, 1
000061F2 6190 bsr -0x6E /* 00006184 */
000061F4 246D FEE8 movea.l A2, [A5 - 0x118]
000061F8 45EA 0002 lea.l A2, [A2 + 0x2]
000061FC 302A FFFE move.w D0, [A2 - 0x2]
00006200 E058 ror D0.w, 8
00006202 3212 move.w D1, [A2]
00006204 0C41 8040 cmpi.w D1, 0x8040
00006208 6516 bcs +0x18 /* 00006220 */
0000620A 0000 003F ori.b D0, 0x3F /* '?' */
0000620E 10C0 move.b [A0]+, D0
00006210 302D FEC6 move.w D0, [A5 - 0x13A]
00006214 5340 subq.w D0, 1
label00006216:
00006216 10FC 0099 move.b [A0]+, 0x99
0000621A 51C8 FFFA dbf D0, -0x8 /* 00006216 */
0000621E 4E75 rts
label00006220:
00006220 0C41 7FC0 cmpi.w D1, 0x7FC0
00006224 640C bcc +0xE /* 00006232 */
00006226 302D FEC6 move.w D0, [A5 - 0x13A]
label0000622A:
0000622A 4218 clr.b [A0]+
0000622C 51C8 FFFC dbf D0, -0x6 /* 0000622A */
00006230 4E75 rts
label00006232:
00006232 0201 007F andi.b D1, 0x7F
00006236 8001 or.b D0, D1
00006238 10C0 move.b [A0]+, D0
0000623A 588A addq.l A2, 4
0000623C 302D FEC6 move.w D0, [A5 - 0x13A]
00006240 5340 subq.w D0, 1
label00006242:
00006242 10DA move.b [A0]+, [A2]+
00006244 51C8 FFFC dbf D0, -0x6 /* 00006242 */
00006248 4E75 rts
fn0000624A:
0000624A 265F movea.l A3, [A7]+
0000624C 3E1B move.w D7, [A3]+
0000624E 2F0B move.l -[A7], A3
00006250 2475 7000 movea.l A2, [A5 + D7.w]
00006254 3E2D FECE move.w D7, [A5 - 0x132]
00006258 266D FEE8 movea.l A3, [A5 - 0x118]
label0000625C:
0000625C 24DB move.l [A2]+, [A3]+
0000625E 51CF FFFC dbf D7, -0x6 /* 0000625C */
00006262 4E75 rts
fn00006264:
00006264 4EBA 012A jsr [PC + 0x12A /* 00006390 */]
fn00006268:
00006268 265F movea.l A3, [A7]+
0000626A 3E1B move.w D7, [A3]+
0000626C 2F0B move.l -[A7], A3
0000626E 2475 7000 movea.l A2, [A5 + D7.w]
00006272 3E2D FECE move.w D7, [A5 - 0x132]
00006276 266D FEE8 movea.l A3, [A5 - 0x118]
label0000627A:
0000627A 26DA move.l [A3]+, [A2]+
0000627C 51CF FFFC dbf D7, -0x6 /* 0000627A */
00006280 4E75 rts
fn00006282:
00006282 6100 FEFC bsr -0x102 /* 00006180 */
00006286 226D FEE8 movea.l A1, [A5 - 0x118]
0000628A 3219 move.w D1, [A1]+
0000628C 3019 move.w D0, [A1]+
0000628E 0240 7FFF andi.w D0, 0x7FFF
00006292 8240 or.w D1, D0
00006294 30C1 move.w [A0]+, D1
00006296 5489 addq.l A1, 2
00006298 302D FECA move.w D0, [A5 - 0x136]
label0000629C:
0000629C 30D9 move.w [A0]+, [A1]+
0000629E 51C8 FFFC dbf D0, -0x6 /* 0000629C */
000062A2 4E75 rts
000062A4 3A2D FEC6 move.w D5, [A5 - 0x13A]
000062A8 5345 subq.w D5, 1
label000062AA:
000062AA 4EBA 00B2 jsr [PC + 0xB2 /* 0000635E */]
000062AE 226D FEE8 movea.l A1, [A5 - 0x118]
000062B2 1018 move.b D0, [A0]+
000062B4 4A10 tst.b [A0]
000062B6 6602 bne +0x4 /* 000062BA */
000062B8 4E75 rts
label000062BA:
000062BA 4A00 tst.b D0
000062BC 6A04 bpl +0x6 /* 000062C2 */
000062BE 32BC 8000 move.w [A1], 0x8000
label000062C2:
000062C2 5489 addq.l A1, 2
000062C4 0200 007F andi.b D0, 0x7F
000062C8 E300 asl D0.b, 1
000062CA E200 asr D0.b, 1
000062CC 4880 ext.w D0
000062CE 0640 8000 addi.w D0, 0x8000
000062D2 3280 move.w [A1], D0
000062D4 5889 addq.l A1, 4
label000062D6:
000062D6 12D8 move.b [A1]+, [A0]+
000062D8 51CD FFFC dbf D5, -0x6 /* 000062D6 */
000062DC 4E75 rts
export_36:
000062DE 205F movea.l A0, [A7]+
000062E0 3018 move.w D0, [A0]+
000062E2 4870 0004 pea.l [A0 + D0.w + 0x4]
000062E6 E248 lsr D0.w, 1
000062E8 6004 bra +0x6 /* 000062EE */
000062EA 302D FECA move.w D0, [A5 - 0x136]
label000062EE:
000062EE 4EBA 006E jsr [PC + 0x6E /* 0000635E */]
000062F2 226D FEE8 movea.l A1, [A5 - 0x118]
000062F6 3218 move.w D1, [A0]+
000062F8 4A50 tst.w [A0]
000062FA 6602 bne +0x4 /* 000062FE */
000062FC 4E75 rts
label000062FE:
000062FE 2401 move.l D2, D1
00006300 0241 8000 andi.w D1, 0x8000
00006304 32C1 move.w [A1]+, D1
00006306 E342 asl D2.w, 1
00006308 E242 asr D2.w, 1
0000630A 0642 8000 addi.w D2, 0x8000
0000630E 32C2 move.w [A1]+, D2
00006310 5489 addq.l A1, 2
label00006312:
00006312 32D8 move.w [A1]+, [A0]+
00006314 51C8 FFFC dbf D0, -0x6 /* 00006312 */
00006318 4E75 rts
fn0000631A:
0000631A 266D FEEC movea.l A3, [A5 - 0x114]
0000631E 6004 bra +0x6 /* 00006324 */
export_63:
fn00006320:
00006320 266D FEE8 movea.l A3, [A5 - 0x118]
label00006324:
00006324 3E2D FECE move.w D7, [A5 - 0x132]
00006328 3C07 move.w D6, D7
0000632A E54E lsl D6.w, 2
0000632C 245F movea.l A2, [A7]+
0000632E 47F3 6004 lea.l A3, [A3 + D6.w + 0x4]
label00006332:
00006332 2F23 move.l -[A7], -[A3]
00006334 51CF FFFC dbf D7, -0x6 /* 00006332 */
00006338 4ED2 jmp [A2]
0000633A 266D FEE8 movea.l A3, [A5 - 0x118]
0000633E 6004 bra +0x6 /* 00006344 */
export_64:
fn00006340:
00006340 266D FEEC movea.l A3, [A5 - 0x114]
label00006344:
00006344 245F movea.l A2, [A7]+
00006346 3E2D FECE move.w D7, [A5 - 0x132]
label0000634A:
0000634A 26DF move.l [A3]+, [A7]+
0000634C 51CF FFFC dbf D7, -0x6 /* 0000634A */
00006350 4ED2 jmp [A2]
fn00006352:
00006352 266D FEF0 movea.l A3, [A5 - 0x110]
00006356 600A bra +0xC /* 00006362 */
00006358 266D FEEC movea.l A3, [A5 - 0x114]
0000635C 6004 bra +0x6 /* 00006362 */
fn0000635E:
0000635E 266D FEE8 movea.l A3, [A5 - 0x118]
label00006362:
00006362 3E2D FECE move.w D7, [A5 - 0x132]
label00006366:
00006366 429B clr.l [A3]+
00006368 51CF FFFC dbf D7, -0x6 /* 00006366 */
0000636C 4E75 rts
fn0000636E:
0000636E 246D FEE8 movea.l A2, [A5 - 0x118]
00006372 266D FEEC movea.l A3, [A5 - 0x114]
00006376 3E2D FECE move.w D7, [A5 - 0x132]
label0000637A:
0000637A 2C12 move.l D6, [A2]
0000637C 24D3 move.l [A2]+, [A3]
0000637E 26C6 move.l [A3]+, D6
00006380 51CF FFF8 dbf D7, -0xA /* 0000637A */
00006384 4E75 rts
fn00006386:
00006386 246D FEEC movea.l A2, [A5 - 0x114]
0000638A 266D FEE8 movea.l A3, [A5 - 0x118]
0000638E 6008 bra +0xA /* 00006398 */
fn00006390:
00006390 246D FEE8 movea.l A2, [A5 - 0x118]
00006394 266D FEEC movea.l A3, [A5 - 0x114]
label00006398:
00006398 3E2D FECE move.w D7, [A5 - 0x132]
label0000639C:
0000639C 26DA move.l [A3]+, [A2]+
0000639E 51CF FFFC dbf D7, -0x6 /* 0000639C */
000063A2 4E75 rts
000063A4 206D FEE8 movea.l A0, [A5 - 0x118]
000063A8 4A68 0006 tst.w [A0 + 0x6]
000063AC 4E75 rts
000063AE 6100 FB44 bsr -0x4BA /* 00005EF4 */
000063B2 206D FEE8 movea.l A0, [A5 - 0x118]
000063B6 4250 clr.w [A0]
000063B8 4E75 rts
fn000063BA:
000063BA 206D FEE8 movea.l A0, [A5 - 0x118]
000063BE 3028 0002 move.w D0, [A0 + 0x2]
000063C2 322D FED0 move.w D1, [A5 - 0x130]
000063C6 5641 addq.w D1, 3
000063C8 0440 8000 subi.w D0, 0x8000
000063CC 6B14 bmi +0x16 /* 000063E2 */
000063CE B240 cmp.w D1, D0
000063D0 6510 bcs +0x12 /* 000063E2 */
000063D2 3200 move.w D1, D0
000063D4 0241 0003 andi.w D1, 0x3
000063D8 E349 lsl D1.w, 1
000063DA 323B 1008 move.w D1, [PC + D1.w + 0x8]
000063DE E448 lsr D0.w, 2
000063E0 B040 cmp.w D0, D0
label000063E2:
000063E2 4E75 rts
000063E4 0FFF .incomplete
000063E6 00FF .incomplete
000063E8 000F 0000 ori.b A7, 0x0
fn000063EC:
000063EC 61CC bsr -0x32 /* 000063BA */
000063EE 6BF2 bmi -0xC /* 000063E2 */
000063F0 6500 FF6C bcs -0x92 /* 0000635E */
000063F4 41E8 0004 lea.l A0, [A0 + 0x4]
label000063F8:
000063F8 4258 clr.w [A0]+
000063FA 51C8 FFFC dbf D0, -0x6 /* 000063F8 */
000063FE C350 and.w [A0], D1
00006400 6000 FCF8 bra -0x306 /* 000060FA */
00006404 61B4 bsr -0x4A /* 000063BA */
00006406 6B00 FF56 bmi -0xA8 /* 0000635E */
0000640A 65D6 bcs -0x28 /* 000063E2 */
0000640C 4641 not.w D1
0000640E 342D FEC4 move.w D2, [A5 - 0x13C]
00006412 41F0 2007 lea.l A0, [A0 + D2.w + 0x7]
00006416 342D FECA move.w D2, [A5 - 0x136]
0000641A 9440 sub.w D2, D0
0000641C 6B06 bmi +0x8 /* 00006424 */
label0000641E:
0000641E 4260 clr.w -[A0]
00006420 51CA FFFC dbf D2, -0x6 /* 0000641E */
label00006424:
00006424 C360 and.w -[A0], D1
00006426 4E75 rts
00006428 6108 bsr +0xA /* 00006432 */
0000642A 6000 FA56 bra -0x5A8 /* 00005E82 */
0000642E 6100 FAC4 bsr -0x53A /* 00005EF4 */
fn00006432:
00006432 206D FEE8 movea.l A0, [A5 - 0x118]
00006436 4A68 0006 tst.w [A0 + 0x6]
0000643A 6714 beq +0x16 /* 00006450 */
0000643C 3010 move.w D0, [A0]
0000643E 6100 FF1E bsr -0xE0 /* 0000635E */
00006442 3080 move.w [A0], D0
00006444 317C 1000 0006 move.w [A0 + 0x6], 0x1000
0000644A 317C 8000 0002 move.w [A0 + 0x2], 0x8000
label00006450:
00006450 4E75 rts
fn00006452:
00006452 226D FEDC movea.l A1, [A5 - 0x124]
00006456 6010 bra +0x12 /* 00006468 */
fn00006458:
00006458 226D FEE4 movea.l A1, [A5 - 0x11C]
0000645C 600A bra +0xC /* 00006468 */
fn0000645E:
0000645E 226D FEE0 movea.l A1, [A5 - 0x120]
00006462 6004 bra +0x6 /* 00006468 */
fn00006464:
00006464 226D FED8 movea.l A1, [A5 - 0x128]
label00006468:
00006468 6100 FF26 bsr -0xD8 /* 00006390 */
0000646C 302D FECE move.w D0, [A5 - 0x132]
00006470 206D FEE8 movea.l A0, [A5 - 0x118]
label00006474:
00006474 20D9 move.l [A0]+, [A1]+
00006476 51C8 FFFC dbf D0, -0x6 /* 00006474 */
0000647A 4E75 rts
fn0000647C:
0000647C 6100 FF12 bsr -0xEC /* 00006390 */
fn00006480:
00006480 6100 FEDC bsr -0x122 /* 0000635E */
00006484 245F movea.l A2, [A7]+
00006486 266D FEE8 movea.l A3, [A5 - 0x118]
0000648A 275A 0000 move.l [A3 + 0x0], [A2]+
0000648E 275A 0004 move.l [A3 + 0x4], [A2]+
00006492 4ED2 jmp [A2]
fn00006494:
00006494 61EA bsr -0x14 /* 00006480 */
00006496 0000 8000 ori.b D0, 0x0
0000649A 0000 1000 ori.b D0, 0x0
0000649E 4E75 rts
000064A0 206D FEE8 movea.l A0, [A5 - 0x118]
000064A4 0A50 8000 xori.w [A0], 0x8000
000064A8 4E75 rts
000064AA 6100 F9D6 bsr -0x628 /* 00005E82 */
000064AE 4680 not.l D0
000064B0 6000 FA42 bra -0x5BC /* 00005EF4 */
fn000064B4:
000064B4 246D FEE8 movea.l A2, [A5 - 0x118]
000064B8 3E2D FEC4 move.w D7, [A5 - 0x13C]
000064BC 45F2 7007 lea.l A2, [A2 + D7.w + 0x7]
000064C0 264A movea.l A3, A2
000064C2 5247 addq.w D7, 1
label000064C4:
000064C4 C70A abcd -[A3], -[A2]
000064C6 51CF FFFC dbf D7, -0x6 /* 000064C4 */
000064CA 4E75 rts
fn000064CC:
000064CC 61E6 bsr -0x18 /* 000064B4 */
fn000064CE:
000064CE 61E4 bsr -0x1A /* 000064B4 */
000064D0 6000 FC28 bra -0x3D6 /* 000060FA */
fn000064D4:
000064D4 6100 F9AC bsr -0x652 /* 00005E82 */
000064D8 6100 FEAC bsr -0x152 /* 00006386 */
000064DC 5380 subq.l D0, 1
000064DE 4E75 rts
000064E0 61F2 bsr -0xC /* 000064D4 */
000064E2 6B0A bmi +0xC /* 000064EE */
label000064E4:
000064E4 3F00 move.w -[A7], D0
000064E6 61E6 bsr -0x18 /* 000064CE */
000064E8 301F move.w D0, [A7]+
000064EA 51C8 FFF8 dbf D0, -0xA /* 000064E4 */
label000064EE:
000064EE 4E75 rts
000064F0 61E2 bsr -0x1C /* 000064D4 */
000064F2 6B0A bmi +0xC /* 000064FE */
label000064F4:
000064F4 3F00 move.w -[A7], D0
000064F6 6108 bsr +0xA /* 00006500 */
000064F8 301F move.w D0, [A7]+
000064FA 51C8 FFF8 dbf D0, -0xA /* 000064F4 */
label000064FE:
000064FE 4E75 rts
fn00006500:
00006500 206D FEE8 movea.l A0, [A5 - 0x118]
00006504 5C88 addq.l A0, 6
00006506 302D FECA move.w D0, [A5 - 0x136]
0000650A 5240 addq.w D0, 1
0000650C 7200 moveq.l D1, 0x00
0000650E 7600 moveq.l D3, 0x00
label00006510:
00006510 3210 move.w D1, [A0]
00006512 660C bne +0xE /* 00006520 */
00006514 4A43 tst.w D3
00006516 671C beq +0x1E /* 00006534 */
00006518 7600 moveq.l D3, 0x00
0000651A 323C 5000 move.w D1, 0x5000 /* 'P\0' */
0000651E 6014 bra +0x16 /* 00006534 */
label00006520:
00006520 343C 0003 move.w D2, 0x3
label00006524:
00006524 7800 moveq.l D4, 0x00
00006526 E951 roxl D1.w, 4
00006528 6402 bcc +0x4 /* 0000652C */
0000652A 7805 moveq.l D4, 0x05
label0000652C:
0000652C D243 add.w D1, D3
0000652E 3604 move.w D3, D4
00006530 51CA FFF2 dbf D2, -0x10 /* 00006524 */
label00006534:
00006534 30C1 move.w [A0]+, D1
00006536 51C8 FFD8 dbf D0, -0x2A /* 00006510 */
0000653A 6000 FBBE bra -0x440 /* 000060FA */
label0000653E:
0000653E 6100 FF40 bsr -0xBE /* 00006480 */
00006542 8000 or.b D0, D0
00006544 8000 or.b D0, D0
00006546 0000 1000 ori.b D0, 0x0
0000654A 4E75 rts
label0000654C:
0000654C 6000 FE10 bra -0x1EE /* 0000635E */
00006550 611E bsr +0x20 /* 00006570 */
label00006552:
00006552 64F8 bcc -0x6 /* 0000654C */
00006554 60E8 bra -0x16 /* 0000653E */
00006556 6118 bsr +0x1A /* 00006570 */
00006558 66F2 bne -0xC /* 0000654C */
0000655A 60E2 bra -0x1C /* 0000653E */
0000655C 611C bsr +0x1E /* 0000657A */
label0000655E:
0000655E 65EC bcs -0x12 /* 0000654C */
00006560 60DC bra -0x22 /* 0000653E */
00006562 610C bsr +0xE /* 00006570 */
00006564 67E6 beq -0x18 /* 0000654C */
00006566 60D6 bra -0x28 /* 0000653E */
00006568 6106 bsr +0x8 /* 00006570 */
0000656A 60F2 bra -0xC /* 0000655E */
0000656C 610C bsr +0xE /* 0000657A */
0000656E 60E2 bra -0x1C /* 00006552 */
fn00006570:
00006570 206D FEE8 movea.l A0, [A5 - 0x118]
00006574 226D FEEC movea.l A1, [A5 - 0x114]
00006578 6008 bra +0xA /* 00006582 */
fn0000657A:
0000657A 226D FEE8 movea.l A1, [A5 - 0x118]
0000657E 206D FEEC movea.l A0, [A5 - 0x114]
label00006582:
00006582 302D FECA move.w D0, [A5 - 0x136]
00006586 5440 addq.w D0, 2
00006588 B348 cmpm.w [A1]+, [A0]+
0000658A 661C bne +0x1E /* 000065A8 */
0000658C 5588 subq.l A0, 2
0000658E 4A58 tst.w [A0]+
00006590 6610 bne +0x12 /* 000065A2 */
00006592 C149 exg A0, A1
00006594 600C bra +0xE /* 000065A2 */
fn00006596:
00006596 206D FEE8 movea.l A0, [A5 - 0x118]
0000659A 226D FEEC movea.l A1, [A5 - 0x114]
0000659E 302D FED2 move.w D0, [A5 - 0x12E]
label000065A2:
000065A2 B348 cmpm.w [A1]+, [A0]+
000065A4 56C8 FFFC dbne D0, -0x6 /* 000065A2 */
label000065A8:
000065A8 4E75 rts
000065AA 2C1F move.l D6, [A7]+
000065AC 6100 FD92 bsr -0x26C /* 00006340 */
000065B0 2F06 move.l -[A7], D6
fn000065B2:
000065B2 6100 FDBA bsr -0x244 /* 0000636E */
fn000065B6:
000065B6 226D FEEC movea.l A1, [A5 - 0x114]
000065BA 0A51 8000 xori.w [A1], 0x8000
000065BE 6008 bra +0xA /* 000065C8 */
fn000065C0:
000065C0 2C1F move.l D6, [A7]+
000065C2 6100 FD7C bsr -0x282 /* 00006340 */
000065C6 2F06 move.l -[A7], D6
fn000065C8:
000065C8 206D FEE8 movea.l A0, [A5 - 0x118]
000065CC 226D FEEC movea.l A1, [A5 - 0x114]
000065D0 45E8 0002 lea.l A2, [A0 + 0x2]
000065D4 47E9 0002 lea.l A3, [A1 + 0x2]
000065D8 302D FECA move.w D0, [A5 - 0x136]
000065DC 5640 addq.w D0, 3
label000065DE:
000065DE B54B cmpm.w [A2]+, [A3]+
000065E0 56C8 FFFC dbne D0, -0x6 /* 000065DE */
000065E4 6404 bcc +0x6 /* 000065EA */
000065E6 6100 FD86 bsr -0x278 /* 0000636E */
label000065EA:
000065EA 3028 0002 move.w D0, [A0 + 0x2]
000065EE 9069 0002 sub.w D0, [A1 + 0x2]
000065F2 322D FED0 move.w D1, [A5 - 0x130]
000065F6 5641 addq.w D1, 3
000065F8 B041 cmp.w D0, D1
000065FA 6302 bls +0x4 /* 000065FE */
000065FC 4E75 rts
label000065FE:
000065FE E248 lsr D0.w, 1
00006600 641A bcc +0x1C /* 0000661C */
00006602 45E9 0006 lea.l A2, [A1 + 0x6]
00006606 322D FECA move.w D1, [A5 - 0x136]
0000660A 7E00 moveq.l D7, 0x00
label0000660C:
0000660C E99F rol D7, 4
0000660E 3E12 move.w D7, [A2]
00006610 E89F ror D7, 4
00006612 34C7 move.w [A2]+, D7
00006614 4847 swap.w D7
00006616 51C9 FFF4 dbf D1, -0xE /* 0000660C */
0000661A 3487 move.w [A2], D7
label0000661C:
0000661C 3E2D FEC4 move.w D7, [A5 - 0x13C]
00006620 5247 addq.w D7, 1
00006622 45F0 7006 lea.l A2, [A0 + D7.w + 0x6]
00006626 9E40 sub.w D7, D0
00006628 47F1 7006 lea.l A3, [A1 + D7.w + 0x6]
0000662C B348 cmpm.w [A1]+, [A0]+
0000662E 6612 bne +0x14 /* 00006642 */
label00006630:
00006630 C50B abcd -[A2], -[A3]
00006632 51CF FFFC dbf D7, -0x6 /* 00006630 */
label00006636:
00006636 47EB 0001 lea.l A3, [A3 + 0x1]
0000663A C50B abcd -[A2], -[A3]
0000663C 65F8 bcs -0x6 /* 00006636 */
0000663E 6000 FABA bra -0x544 /* 000060FA */
label00006642:
00006642 850B sbcd -[A2], -[A3]
00006644 51CF FFFC dbf D7, -0x6 /* 00006642 */
label00006648:
00006648 47EB 0001 lea.l A3, [A3 + 0x1]
0000664C 850B sbcd -[A2], -[A3]
0000664E 65F8 bcs -0x6 /* 00006648 */
00006650 6000 FAA8 bra -0x556 /* 000060FA */
fn00006654:
00006654 7E09 moveq.l D7, 0x09
00006656 45FA 000E lea.l A2, [PC + 0xE /* 00006666, value 0x10003, cstring "" */]
label0000665A:
0000665A 3C1A move.w D6, [A2]+
0000665C 3A1A move.w D5, [A2]+
0000665E B05A cmp.w D0, [A2]+
00006660 54CF FFF8 dbcc D7, -0xA /* 0000665A */
00006664 4E75 rts
00006666 0001 0003 ori.b D1, 0x3
0000666A 8000 or.b D0, D0
0000666C 0002 0006 ori.b D2, 0x6
00006670 6400 0003 bcc +0x5 /* 00006675 */
00006674 0009 5120 ori.b A1, 0x20 /* ' ' */
00006678 0001 0002 ori.b D1, 0x2
0000667C 4000 negx.b D0
0000667E 0002 0005 ori.b D2, 0x5
00006682 3200 move.w D1, D0
00006684 0003 0008 ori.b D3, 0x8
00006688 2560 0001 move.l [A2 + 0x1], -[A0]
0000668C 0001 2000 ori.b D1, 0x0
00006690 0002 0004 ori.b D2, 0x4
00006694 1600 move.b D3, D0
00006696 0003 0007 ori.b D3, 0x7
0000669A 1280 move.b [A1], D0
0000669C 0001 0000 ori.b D1, 0x0
000066A0 1000 move.b D0, D0
label000066A2:
000066A2 9D68 0002 sub.w [A0 + 0x2], D6
000066A6 5345 subq.w D5, 1
000066A8 6B16 bmi +0x18 /* 000066C0 */
000066AA E34A lsl D2.w, 1
label000066AC:
000066AC 3E02 move.w D7, D2
000066AE 45F0 7008 lea.l A2, [A0 + D7.w + 0x8]
000066B2 264A movea.l A3, A2
000066B4 5647 addq.w D7, 3
label000066B6:
000066B6 C70A abcd -[A3], -[A2]
000066B8 51CF FFFC dbf D7, -0x6 /* 000066B6 */
000066BC 51CD FFEE dbf D5, -0x14 /* 000066AC */
label000066C0:
000066C0 6000 FA38 bra -0x5C6 /* 000060FA */
fn000066C4:
000066C4 2C1F move.l D6, [A7]+
000066C6 6100 FC78 bsr -0x386 /* 00006340 */
000066CA 2F06 move.l -[A7], D6
export_65:
fn000066CC:
000066CC 4EBA 0174 jsr [PC + 0x174 /* 00006842 */]
000066D0 6700 FC8C beq -0x372 /* 0000635E */
000066D4 0440 7FFF subi.w D0, 0x7FFF
000066D8 D168 0002 add.w [A0 + 0x2], D0
000066DC 302D FEC4 move.w D0, [A5 - 0x13C]
000066E0 45F0 0007 lea.l A2, [A0 + D0.w + 0x7]
000066E4 47F1 0007 lea.l A3, [A1 + D0.w + 0x7]
000066E8 342D FECA move.w D2, [A5 - 0x136]
000066EC 5242 addq.w D2, 1
000066EE 3602 move.w D3, D2
label000066F0:
000066F0 3822 move.w D4, -[A2]
000066F2 56CA FFFC dbne D2, -0x6 /* 000066F0 */
label000066F6:
000066F6 3A23 move.w D5, -[A3]
000066F8 56CB FFFC dbne D3, -0x6 /* 000066F6 */
000066FC B443 cmp.w D2, D3
000066FE 6416 bcc +0x18 /* 00006716 */
00006700 3803 move.w D4, D3
00006702 45E8 0006 lea.l A2, [A0 + 0x6]
00006706 47E9 0006 lea.l A3, [A1 + 0x6]
label0000670A:
0000670A 3C12 move.w D6, [A2]
0000670C 34D3 move.w [A2]+, [A3]
0000670E 36C6 move.w [A3]+, D6
00006710 51CC FFF8 dbf D4, -0xA /* 0000670A */
00006714 C543 exg D2, D3
label00006716:
00006716 4A43 tst.w D3
00006718 6626 bne +0x28 /* 00006740 */
0000671A 3029 0006 move.w D0, [A1 + 0x6]
0000671E 6100 FF34 bsr -0xCA /* 00006654 */
00006722 6700 FF7E beq -0x80 /* 000066A2 */
00006726 4A42 tst.w D2
00006728 6616 bne +0x18 /* 00006740 */
0000672A 3E28 0006 move.w D7, [A0 + 0x6]
0000672E 3140 0006 move.w [A0 + 0x6], D0
00006732 3347 0006 move.w [A1 + 0x6], D7
00006736 3007 move.w D0, D7
00006738 6100 FF1A bsr -0xE4 /* 00006654 */
0000673C 6700 FF64 beq -0x9A /* 000066A2 */
label00006740:
00006740 3A02 move.w D5, D2
00006742 45E9 0006 lea.l A2, [A1 + 0x6]
00006746 3E03 move.w D7, D3
label00006748:
00006748 4242 clr.w D2
0000674A 3212 move.w D1, [A2]
0000674C 6716 beq +0x18 /* 00006764 */
0000674E 4841 swap.w D1
00006750 7803 moveq.l D4, 0x03
label00006752:
00006752 4241 clr.w D1
00006754 E999 rol D1, 4
00006756 D442 add.w D2, D2
00006758 3C02 move.w D6, D2
0000675A E54A lsl D2.w, 2
0000675C D446 add.w D2, D6
0000675E D441 add.w D2, D1
00006760 51CC FFF0 dbf D4, -0x12 /* 00006752 */
label00006764:
00006764 34C2 move.w [A2]+, D2
00006766 51CF FFE0 dbf D7, -0x22 /* 00006748 */
0000676A 246D FEF0 movea.l A2, [A5 - 0x110]
0000676E 34A8 0002 move.w [A2], [A0 + 0x2]
00006772 4268 0002 clr.w [A0 + 0x2]
00006776 3E05 move.w D7, D5
00006778 E34D lsl D5.w, 1
0000677A 5845 addq.w D5, 4
0000677C 3203 move.w D1, D3
0000677E 3F3C 000E move.w -[A7], 0xE
00006782 DE43 add.w D7, D3
00006784 3C2D FECA move.w D6, [A5 - 0x136]
00006788 5246 addq.w D6, 1
0000678A BC47 cmp.w D6, D7
0000678C 645C bcc +0x5E /* 000067EA */
0000678E 3E2D FEC4 move.w D7, [A5 - 0x13C]
00006792 45F2 7007 lea.l A2, [A2 + D7.w + 0x7]
00006796 280A move.l D4, A2
00006798 47F0 7007 lea.l A3, [A0 + D7.w + 0x7]
0000679C 200B move.l D0, A3
label0000679E:
0000679E 226D FEEC movea.l A1, [A5 - 0x114]
000067A2 5C89 addq.l A1, 6
000067A4 2600 move.l D3, D0
000067A6 3C2D FECA move.w D6, [A5 - 0x136]
000067AA 5246 addq.w D6, 1
000067AC 3401 move.w D2, D1
label000067AE:
000067AE E6D9 ror .w [A1]+
000067B0 641A bcc +0x1C /* 000067CC */
000067B2 2644 movea.l A3, D4
000067B4 2443 movea.l A2, D3
000067B6 3E06 move.w D7, D6
000067B8 5247 addq.w D7, 1
label000067BA:
000067BA C70A abcd -[A3], -[A2]
000067BC C70A abcd -[A3], -[A2]
000067BE 51CF FFFA dbf D7, -0x8 /* 000067BA */
000067C2 6408 bcc +0xA /* 000067CC */
label000067C4:
000067C4 C70A abcd -[A3], -[A2]
000067C6 45EA 0001 lea.l A2, [A2 + 0x1]
000067CA 65F8 bcs -0x6 /* 000067C4 */
label000067CC:
000067CC 5583 subq.l D3, 2
000067CE 5346 subq.w D6, 1
000067D0 51CA FFDC dbf D2, -0x26 /* 000067AE */
000067D4 45F0 5004 lea.l A2, [A0 + D5.w + 0x4]
000067D8 3E05 move.w D7, D5
000067DA 264A movea.l A3, A2
label000067DC:
000067DC C70A abcd -[A3], -[A2]
000067DE 51CF FFFC dbf D7, -0x6 /* 000067DC */
000067E2 5357 subq.w [A7], 1
000067E4 66B8 bne -0x46 /* 0000679E */
000067E6 4EFA 0170 jmp [PC + 0x170 /* 00006958 */]
label000067EA:
000067EA 3C05 move.w D6, D5
000067EC E24E lsr D6.w, 1
000067EE 5246 addq.w D6, 1
000067F0 45F2 5004 lea.l A2, [A2 + D5.w + 0x4]
000067F4 200A move.l D0, A2
000067F6 45F0 5004 lea.l A2, [A0 + D5.w + 0x4]
000067FA 260A move.l D3, A2
label000067FC:
000067FC 226D FEEC movea.l A1, [A5 - 0x114]
00006800 5C89 addq.l A1, 6
00006802 2800 move.l D4, D0
00006804 3401 move.w D2, D1
label00006806:
00006806 E6D9 ror .w [A1]+
00006808 641A bcc +0x1C /* 00006824 */
0000680A 2644 movea.l A3, D4
0000680C 2443 movea.l A2, D3
0000680E 3E06 move.w D7, D6
00006810 5347 subq.w D7, 1
label00006812:
00006812 C70A abcd -[A3], -[A2]
00006814 C70A abcd -[A3], -[A2]
00006816 51CF FFFA dbf D7, -0x8 /* 00006812 */
0000681A 6408 bcc +0xA /* 00006824 */
label0000681C:
0000681C C70A abcd -[A3], -[A2]
0000681E 45EA 0001 lea.l A2, [A2 + 0x1]
00006822 65F8 bcs -0x6 /* 0000681C */
label00006824:
00006824 5484 addq.l D4, 2
00006826 51CA FFDE dbf D2, -0x24 /* 00006806 */
0000682A 2443 movea.l A2, D3
0000682C 3E06 move.w D7, D6
0000682E 5347 subq.w D7, 1
00006830 264A movea.l A3, A2
label00006832:
00006832 C70A abcd -[A3], -[A2]
00006834 C70A abcd -[A3], -[A2]
00006836 51CF FFFA dbf D7, -0x8 /* 00006832 */
0000683A 5357 subq.w [A7], 1
0000683C 66BE bne -0x40 /* 000067FC */
0000683E 4EFA 0118 jmp [PC + 0x118 /* 00006958 */]
fn00006842:
00006842 206D FEE8 movea.l A0, [A5 - 0x118]
00006846 226D FEEC movea.l A1, [A5 - 0x114]
0000684A 4A68 0006 tst.w [A0 + 0x6]
0000684E 6606 bne +0x8 /* 00006856 */
00006850 588F addq.l A7, 4
00006852 4290 clr.l [A0]
00006854 4E75 rts
label00006856:
00006856 6100 FAFA bsr -0x504 /* 00006352 */
0000685A 3011 move.w D0, [A1]
0000685C B150 xor.w [A0], D0
0000685E 3029 0002 move.w D0, [A1 + 0x2]
00006862 4A69 0006 tst.w [A1 + 0x6]
00006866 4E75 rts
00006868 2C1F move.l D6, [A7]+
0000686A 6100 FAD4 bsr -0x52A /* 00006340 */
0000686E 2F06 move.l -[A7], D6
fn00006870:
00006870 6100 FAFC bsr -0x502 /* 0000636E */
fn00006874:
00006874 61CC bsr -0x32 /* 00006842 */
00006876 6700 F95A beq -0x6A4 /* 000061D2 */
0000687A 0440 8000 subi.w D0, 0x8000
0000687E 9168 0002 sub.w [A0 + 0x2], D0
00006882 302D FEC4 move.w D0, [A5 - 0x13C]
00006886 45F0 0007 lea.l A2, [A0 + D0.w + 0x7]
0000688A 47F1 0007 lea.l A3, [A1 + D0.w + 0x7]
0000688E 5440 addq.w D0, 2
00006890 3600 move.w D3, D0
label00006892:
00006892 5540 subq.w D0, 2
00006894 5543 subq.w D3, 2
00006896 3E23 move.w D7, -[A3]
00006898 660A bne +0xC /* 000068A4 */
0000689A 4A62 tst.w -[A2]
0000689C 67F4 beq -0xA /* 00006892 */
label0000689E:
0000689E 5540 subq.w D0, 2
000068A0 3E23 move.w D7, -[A3]
000068A2 67FA beq -0x4 /* 0000689E */
label000068A4:
000068A4 0C40 0001 cmpi.w D0, 0x1
000068A8 6622 bne +0x24 /* 000068CC */
000068AA 3F00 move.w -[A7], D0
000068AC 3007 move.w D0, D7
000068AE 6100 FDA4 bsr -0x25A /* 00006654 */
000068B2 6616 bne +0x18 /* 000068CA */
000068B4 5346 subq.w D6, 1
000068B6 DD68 0002 add.w [A0 + 0x2], D6
000068BA 3F05 move.w -[A7], D5
label000068BC:
000068BC 5357 subq.w [A7], 1
000068BE 6B06 bmi +0x8 /* 000068C6 */
000068C0 6100 FC3E bsr -0x3C0 /* 00006500 */
000068C4 60F6 bra -0x8 /* 000068BC */
label000068C6:
000068C6 588F addq.l A7, 4
000068C8 4E75 rts
label000068CA:
000068CA 301F move.w D0, [A7]+
label000068CC:
000068CC 246D FEF0 movea.l A2, [A5 - 0x110]
000068D0 280A move.l D4, A2
000068D2 5884 addq.l D4, 4
000068D4 34A8 0002 move.w [A2], [A0 + 0x2]
000068D8 3C2D FECA move.w D6, [A5 - 0x136]
000068DC 5446 addq.w D6, 2
000068DE 3F06 move.w -[A7], D6
000068E0 3A3C 1000 move.w D5, 0x1000
000068E4 3400 move.w D2, D0
000068E6 45F0 0007 lea.l A2, [A0 + D0.w + 0x7]
000068EA 260A move.l D3, A2
000068EC 7E00 moveq.l D7, 0x00
label000068EE:
000068EE 47F1 2007 lea.l A3, [A1 + D2.w + 0x7]
000068F2 220B move.l D1, A3
000068F4 45E8 0005 lea.l A2, [A0 + 0x5]
000068F8 47E9 0005 lea.l A3, [A1 + 0x5]
000068FC 6010 bra +0x12 /* 0000690E */
label000068FE:
000068FE 3002 move.w D0, D2
00006900 2443 movea.l A2, D3
00006902 2641 movea.l A3, D1
00006904 850B sbcd -[A2], -[A3]
label00006906:
00006906 850B sbcd -[A2], -[A3]
00006908 51C8 FFFC dbf D0, -0x6 /* 00006906 */
0000690C DE45 add.w D7, D5
label0000690E:
0000690E B50B cmpm.b [A2]+, [A3]+
00006910 62EC bhi -0x12 /* 000068FE */
00006912 3006 move.w D0, D6
label00006914:
00006914 B54B cmpm.w [A2]+, [A3]+
00006916 56C8 FFFC dbne D0, -0x6 /* 00006914 */
0000691A 64E2 bcc -0x1C /* 000068FE */
0000691C 3006 move.w D0, D6
0000691E 5440 addq.w D0, 2
00006920 E348 lsl D0.w, 1
00006922 45F0 0006 lea.l A2, [A0 + D0.w + 0x6]
00006926 E248 lsr D0.w, 1
00006928 7200 moveq.l D1, 0x00
label0000692A:
0000692A 3222 move.w D1, -[A2]
0000692C 56C8 FFFC dbne D0, -0x6 /* 0000692A */
00006930 6722 beq +0x24 /* 00006954 */
label00006932:
00006932 E999 rol D1, 4
00006934 3481 move.w [A2], D1
00006936 4841 swap.w D1
00006938 E899 ror D1, 4
0000693A 3222 move.w D1, -[A2]
0000693C 51C8 FFF4 dbf D0, -0xE /* 00006932 */
00006940 E84D lsr D5.w, 4
00006942 66AA bne -0x54 /* 000068EE */
00006944 2444 movea.l A2, D4
00006946 3487 move.w [A2], D7
00006948 7E00 moveq.l D7, 0x00
0000694A 5484 addq.l D4, 2
0000694C 3A3C 1000 move.w D5, 0x1000
00006950 5357 subq.w [A7], 1
00006952 669A bne -0x64 /* 000068EE */
label00006954:
00006954 2444 movea.l A2, D4
00006956 3487 move.w [A2], D7
label00006958:
00006958 548F addq.l A7, 2
0000695A 246D FEF0 movea.l A2, [A5 - 0x110]
0000695E 5488 addq.l A0, 2
00006960 302D FECE move.w D0, [A5 - 0x132]
label00006964:
00006964 20DA move.l [A0]+, [A2]+
00006966 51C8 FFFC dbf D0, -0x6 /* 00006964 */
0000696A 6000 F78E bra -0x870 /* 000060FA */
0000696E 6100 F584 bsr -0xA7A /* 00005EF4 */
00006972 6100 F9AC bsr -0x652 /* 00006320 */
00006976 4EBA 038C jsr [PC + 0x38C /* 00006D04 */]
0000697A 6100 F9C4 bsr -0x63A /* 00006340 */
0000697E 6100 F9A0 bsr -0x65E /* 00006320 */
00006982 6100 FA02 bsr -0x5FC /* 00006386 */
00006986 4EBA 038A jsr [PC + 0x38A /* 00006D12 */]
0000698A 6100 F9B4 bsr -0x64A /* 00006340 */
0000698E 6000 FEE4 bra -0x11A /* 00006874 */
00006992 4EBA 0036 jsr [PC + 0x36 /* 000069CA */]
00006996 C081 and.l D0, D1
00006998 6000 F55A bra -0xAA4 /* 00005EF4 */
0000699C 4EBA 002C jsr [PC + 0x2C /* 000069CA */]
000069A0 B380 xor.l D0, D1
000069A2 6000 F550 bra -0xAAE /* 00005EF4 */
000069A6 4EBA 0022 jsr [PC + 0x22 /* 000069CA */]
000069AA 8081 or.l D0, D1
000069AC 6000 F546 bra -0xAB8 /* 00005EF4 */
000069B0 4EBA 0018 jsr [PC + 0x18 /* 000069CA */]
000069B4 C340 exg D1, D0
000069B6 4EBA 9B30 jsr [PC - 0x64D0 /* 000004E8 */]
000069BA C340 exg D1, D0
000069BC 6000 F536 bra -0xAC8 /* 00005EF4 */
000069C0 6100 F4C0 bsr -0xB3E /* 00005E82 */
000069C4 4680 not.l D0
000069C6 6000 F52C bra -0xAD2 /* 00005EF4 */
fn000069CA:
000069CA 6100 F4B6 bsr -0xB48 /* 00005E82 */
000069CE 2F00 move.l -[A7], D0
000069D0 6100 F9B4 bsr -0x64A /* 00006386 */
000069D4 6100 F4AC bsr -0xB52 /* 00005E82 */
000069D8 221F move.l D1, [A7]+
000069DA 4E75 rts
000069DC 4EBA A440 jsr [PC - 0x5BC0 /* 00000E1E */]
000069E0 6000 F512 bra -0xAEC /* 00005EF4 */
000069E4 4EBA 9B2A jsr [PC - 0x64D6 /* 00000510 */]
000069E8 6000 F50A bra -0xAF4 /* 00005EF4 */
000069EC 4EBA A42A jsr [PC - 0x5BD6 /* 00000E18 */]
000069F0 6000 F502 bra -0xAFC /* 00005EF4 */
000069F4 6100 F48C bsr -0xB72 /* 00005E82 */
000069F8 4EBA 9B3E jsr [PC - 0x64C2 /* 00000538 */]
000069FC 6000 F4F6 bra -0xB08 /* 00005EF4 */
00006A00 6100 F480 bsr -0xB7E /* 00005E82 */
00006A04 4EFA 9B32 jmp [PC - 0x64CE /* 00000538 */]
00006A08 6100 F478 bsr -0xB86 /* 00005E82 */
00006A0C 4EBA CEE4 jsr [PC - 0x311C /* 000038F2 */]
00006A10 6000 F4E2 bra -0xB1C /* 00005EF4 */
00006A14 6100 F46C bsr -0xB92 /* 00005E82 */
00006A18 4EFA CED8 jmp [PC - 0x3128 /* 000038F2 */]
00006A1C 6100 F464 bsr -0xB9A /* 00005E82 */
00006A20 4EBA B90A jsr [PC - 0x46F6 /* 0000232C */]
00006A24 6000 F4CE bra -0xB30 /* 00005EF4 */
00006A28 6100 F458 bsr -0xBA6 /* 00005E82 */
00006A2C 4EFA B8FE jmp [PC - 0x4702 /* 0000232C */]
00006A30 6100 F450 bsr -0xBAE /* 00005E82 */
00006A34 4EBA B8F0 jsr [PC - 0x4710 /* 00002326 */]
00006A38 6000 F4BA bra -0xB44 /* 00005EF4 */
00006A3C 6100 F444 bsr -0xBBA /* 00005E82 */
00006A40 4EFA B8E4 jmp [PC - 0x471C /* 00002326 */]
00006A44 6104 bsr +0x6 /* 00006A4A */
00006A46 6000 F4AC bra -0xB52 /* 00005EF4 */
fn00006A4A:
00006A4A 7000 moveq.l D0, 0x00
00006A4C 7200 moveq.l D1, 0x00
00006A4E 1218 move.b D1, [A0]+
00006A50 6710 beq +0x12 /* 00006A62 */
00006A52 0C41 0005 cmpi.w D1, 0x5
00006A56 6502 bcs +0x4 /* 00006A5A */
00006A58 7204 moveq.l D1, 0x04
label00006A5A:
00006A5A E188 lsl D0, 8
00006A5C 1018 move.b D0, [A0]+
00006A5E 5341 subq.w D1, 1
00006A60 66F8 bne -0x6 /* 00006A5A */
label00006A62:
00006A62 4E75 rts
00006A64 7A00 moveq.l D5, 0x00
00006A66 1A18 move.b D5, [A0]+
00006A68 5545 subq.w D5, 2
00006A6A 6B00 F8F2 bmi -0x70C /* 0000635E */
00006A6E 4A2D FD85 tst.b [A5 - 0x27B]
00006A72 660E bne +0x10 /* 00006A82 */
label00006A74:
00006A74 BA6D FEC4 cmp.w D5, [A5 - 0x13C]
00006A78 6504 bcs +0x6 /* 00006A7E */
00006A7A 3A2D FEC4 move.w D5, [A5 - 0x13C]
label00006A7E:
00006A7E 6000 F82A bra -0x7D4 /* 000062AA */
label00006A82:
00006A82 3005 move.w D0, D5
00006A84 E248 lsr D0.w, 1
00006A86 65EC bcs -0x12 /* 00006A74 */
00006A88 5340 subq.w D0, 1
00006A8A B06D FECA cmp.w D0, [A5 - 0x136]
00006A8E 6504 bcs +0x6 /* 00006A94 */
00006A90 302D FECA move.w D0, [A5 - 0x136]
label00006A94:
00006A94 43ED FDC4 lea.l A1, [A5 - 0x23C]
00006A98 5245 addq.w D5, 1
label00006A9A:
00006A9A 12D8 move.b [A1]+, [A0]+
00006A9C 51CD FFFC dbf D5, -0x6 /* 00006A9A */
00006AA0 41ED FDC4 lea.l A0, [A5 - 0x23C]
00006AA4 6000 F848 bra -0x7B6 /* 000062EE */
00006AA8 6100 F44A bsr -0xBB4 /* 00005EF4 */
00006AAC 206D FEE8 movea.l A0, [A5 - 0x118]
00006AB0 4A68 0006 tst.w [A0 + 0x6]
00006AB4 6700 00A6 beq +0xA8 /* 00006B5C */
00006AB8 4258 clr.w [A0]+
00006ABA 3010 move.w D0, [A0]
00006ABC 0440 8000 subi.w D0, 0x8000
00006AC0 4A40 tst.w D0
00006AC2 6A06 bpl +0x8 /* 00006ACA */
00006AC4 003C 00FF ori.b ccr, 255
00006AC8 6004 bra +0x6 /* 00006ACE */
label00006ACA:
00006ACA 023C 0000 andi.b ccr, 0
label00006ACE:
00006ACE E250 roxr D0.w, 1
00006AD0 3F00 move.w -[A7], D0
00006AD2 303C 3FFF move.w D0, 0x3FFF
00006AD6 E350 roxl D0.w, 1
00006AD8 3080 move.w [A0], D0
00006ADA 6100 F76E bsr -0x890 /* 0000624A */
00006ADE FEF4 5050 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006AE2 2F08 move.l -[A7], A0
00006AE4 6100 F39C bsr -0xC62 /* 00005E82 */
00006AE8 323C 1270 move.w D1, 0x1270
00006AEC 383C 0005 move.w D4, 0x5
label00006AF0:
00006AF0 3401 move.w D2, D1
00006AF2 2600 move.l D3, D0
00006AF4 86C1 divu.w D3, D1
00006AF6 D243 add.w D1, D3
00006AF8 E249 lsr D1.w, 1
00006AFA B242 cmp.w D1, D2
00006AFC 57CC FFF2 dbeq D4, -0x10 /* 00006AF0 */
00006B00 3001 move.w D0, D1
00006B02 0C40 2710 cmpi.w D0, 0x2710
00006B06 6504 bcs +0x6 /* 00006B0C */
00006B08 303C 270F move.w D0, 0x270F
label00006B0C:
00006B0C 48C0 ext.l D0
00006B0E 6100 F3E4 bsr -0xC1A /* 00005EF4 */
00006B12 205F movea.l A0, [A7]+
00006B14 30BC 7FFF move.w [A0], 0x7FFF
00006B18 302D FED2 move.w D0, [A5 - 0x12E]
00006B1C 5540 subq.w D0, 2
00006B1E 7202 moveq.l D1, 0x02
label00006B20:
00006B20 5241 addq.w D1, 1
00006B22 E248 lsr D0.w, 1
00006B24 66FA bne -0x4 /* 00006B20 */
00006B26 3F01 move.w -[A7], D1
label00006B28:
00006B28 6100 F7F6 bsr -0x808 /* 00006320 */
00006B2C 6100 F736 bsr -0x8C8 /* 00006264 */
00006B30 FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006B34 FD40 .extension 0xD40 <<F/4-5/6>> // unimplemented
00006B36 6100 F808 bsr -0x7F6 /* 00006340 */
00006B3A 6100 FA5A bsr -0x5A4 /* 00006596 */
00006B3E 670C beq +0xE /* 00006B4C */
00006B40 6100 FA86 bsr -0x578 /* 000065C8 */
00006B44 6100 F9BA bsr -0x644 /* 00006500 */
00006B48 5357 subq.w [A7], 1
00006B4A 66DC bne -0x22 /* 00006B28 */
label00006B4C:
00006B4C 548F addq.l A7, 2
00006B4E 301F move.w D0, [A7]+
00006B50 0640 8000 addi.w D0, 0x8000
00006B54 206D FEE8 movea.l A0, [A5 - 0x118]
00006B58 3140 0002 move.w [A0 + 0x2], D0
label00006B5C:
00006B5C 4E75 rts
00006B5E 6100 F394 bsr -0xC6A /* 00005EF4 */
00006B62 206D FEE8 movea.l A0, [A5 - 0x118]
00006B66 3F10 move.w -[A7], [A0]
00006B68 30BC 0000 move.w [A0], 0x0
00006B6C 6100 F90E bsr -0x6F0 /* 0000647C */
00006B70 0000 7FFF ori.b D0, 0xFF
00006B74 0000 4000 ori.b D0, 0x0
00006B78 6100 F9F6 bsr -0x608 /* 00006570 */
00006B7C 6508 bcs +0xA /* 00006B86 */
00006B7E 6100 F806 bsr -0x7F8 /* 00006386 */
00006B82 612C bsr +0x2E /* 00006BB0 */
00006B84 604C bra +0x4E /* 00006BD2 */
label00006B86:
00006B86 6100 F8F8 bsr -0x706 /* 00006480 */
00006B8A 0000 8000 ori.b D0, 0x0
00006B8E 0000 2500 ori.b D0, 0x0
00006B92 6100 F9DC bsr -0x622 /* 00006570 */
00006B96 6428 bcc +0x2A /* 00006BC0 */
00006B98 6100 F8FA bsr -0x704 /* 00006494 */
00006B9C 6100 FCD6 bsr -0x328 /* 00006874 */
00006BA0 610A bsr +0xC /* 00006BAC */
00006BA2 6100 F8C0 bsr -0x73E /* 00006464 */
00006BA6 6100 FA0E bsr -0x5F0 /* 000065B6 */
00006BAA 6026 bra +0x28 /* 00006BD2 */
fn00006BAC:
00006BAC 6100 F7E2 bsr -0x81C /* 00006390 */
fn00006BB0:
00006BB0 3B7C 0003 FDBA move.w [A5 - 0x246], 0x3
00006BB6 7202 moveq.l D1, 0x02
00006BB8 303C 0083 move.w D0, 0x83
00006BBC 4EFA 020E jmp [PC + 0x20E /* 00006DCC */]
label00006BC0:
00006BC0 4EBA 010C jsr [PC + 0x10C /* 00006CCE */]
00006BC4 61EA bsr -0x14 /* 00006BB0 */
00006BC6 6100 F89C bsr -0x762 /* 00006464 */
00006BCA 6100 F934 bsr -0x6CA /* 00006500 */
00006BCE 6100 F9F8 bsr -0x606 /* 000065C8 */
label00006BD2:
00006BD2 206D FEE8 movea.l A0, [A5 - 0x118]
00006BD6 309F move.w [A0], [A7]+
00006BD8 4E75 rts
fn00006BDA:
00006BDA 246D FEE8 movea.l A2, [A5 - 0x118]
00006BDE 3E2D FEC4 move.w D7, [A5 - 0x13C]
00006BE2 45F2 7007 lea.l A2, [A2 + D7.w + 0x7]
00006BE6 3E2D FECA move.w D7, [A5 - 0x136]
label00006BEA:
00006BEA 4A62 tst.w -[A2]
00006BEC 56CF FFFC dbne D7, -0x6 /* 00006BEA */
00006BF0 6604 bne +0x6 /* 00006BF6 */
00006BF2 3022 move.w D0, -[A2]
00006BF4 B040 cmp.w D0, D0
label00006BF6:
00006BF6 4E75 rts
00006BF8 6100 F2FA bsr -0xD04 /* 00005EF4 */
fn00006BFC:
00006BFC 206D FEE8 movea.l A0, [A5 - 0x118]
00006C00 4A68 0006 tst.w [A0 + 0x6]
00006C04 6608 bne +0xA /* 00006C0E */
00006C06 30BC 8000 move.w [A0], 0x8000
00006C0A 6000 F5C6 bra -0xA38 /* 000061D2 */
label00006C0E:
00006C0E 30BC 0000 move.w [A0], 0x0
00006C12 3B68 0002 FDBC move.w [A5 - 0x244], [A0 + 0x2]
00006C18 317C 7FFF 0002 move.w [A0 + 0x2], 0x7FFF
00006C1E 61BA bsr -0x44 /* 00006BDA */
00006C20 6614 bne +0x16 /* 00006C36 */
00006C22 6100 FA30 bsr -0x5CE /* 00006654 */
00006C26 660E bne +0x10 /* 00006C36 */
00006C28 4268 0006 clr.w [A0 + 0x6]
00006C2C 9D6D FDBC sub.w [A5 - 0x244], D6
00006C30 3B45 FDBA move.w [A5 - 0x246], D5
00006C34 6056 bra +0x58 /* 00006C8C */
label00006C36:
00006C36 3B7C 0000 FDBA move.w [A5 - 0x246], 0x0
label00006C3C:
00006C3C 0C68 7100 0006 cmpi.w [A0 + 0x6], 0x7100 /* 'q\0' */
00006C42 6414 bcc +0x16 /* 00006C58 */
00006C44 2F08 move.l -[A7], A0
00006C46 6100 F886 bsr -0x778 /* 000064CE */
00006C4A 205F movea.l A0, [A7]+
00006C4C 536D FDBA subq.w [A5 - 0x246], 1
00006C50 0C68 7FFF 0002 cmpi.w [A0 + 0x2], 0x7FFF
00006C56 67E4 beq -0x1A /* 00006C3C */
label00006C58:
00006C58 4EBA 0070 jsr [PC + 0x70 /* 00006CCA */]
00006C5C 672E beq +0x30 /* 00006C8C */
00006C5E 6100 F6C0 bsr -0x93E /* 00006320 */
00006C62 6100 F86A bsr -0x794 /* 000064CE */
00006C66 6124 bsr +0x26 /* 00006C8C */
00006C68 6100 F5E0 bsr -0xA1E /* 0000624A */
00006C6C FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006C70 F6D0 6100 .extension 0x6D0 <<F/2-3/3>> // unimplemented
00006C74 F712 .extension 0x712 <<F/4-5/3>> // unimplemented
00006C76 3B7C 0003 FDBA move.w [A5 - 0x246], 0x3
00006C7C 3B7C 0002 FDBC move.w [A5 - 0x244], 0x2
00006C82 1B7C 0007 FDB8 move.b [A5 - 0x248], 0x7
00006C88 4EFA 0150 jmp [PC + 0x150 /* 00006DDA */]
fn00006C8C:
00006C8C 302D FDBA move.w D0, [A5 - 0x246]
00006C90 6716 beq +0x18 /* 00006CA8 */
00006C92 48C0 ext.l D0
00006C94 6100 F68A bsr -0x974 /* 00006320 */
00006C98 6100 F25A bsr -0xDA4 /* 00005EF4 */
00006C9C 6100 F7C0 bsr -0x83E /* 0000645E */
00006CA0 6100 FA2A bsr -0x5D4 /* 000066CC */
00006CA4 6100 F91A bsr -0x6E4 /* 000065C0 */
label00006CA8:
00006CA8 302D FDBC move.w D0, [A5 - 0x244]
00006CAC 0440 7FFF subi.w D0, 0x7FFF
00006CB0 6716 beq +0x18 /* 00006CC8 */
00006CB2 48C0 ext.l D0
00006CB4 6100 F66A bsr -0x994 /* 00006320 */
00006CB8 6100 F23A bsr -0xDC4 /* 00005EF4 */
00006CBC 6100 F79A bsr -0x864 /* 00006458 */
00006CC0 6100 FA0A bsr -0x5F4 /* 000066CC */
00006CC4 6100 F8FA bsr -0x704 /* 000065C0 */
label00006CC8:
00006CC8 4E75 rts
fn00006CCA:
00006CCA 6100 F6C4 bsr -0x93A /* 00006390 */
fn00006CCE:
00006CCE 6100 F7C4 bsr -0x83A /* 00006494 */
00006CD2 6100 F8F4 bsr -0x70A /* 000065C8 */
00006CD6 6100 F648 bsr -0x9B6 /* 00006320 */
00006CDA 6100 F7A0 bsr -0x85E /* 0000647C */
00006CDE 8000 or.b D0, D0
00006CE0 8000 or.b D0, D0
00006CE2 0000 2000 ori.b D0, 0x0
00006CE6 6100 F8E0 bsr -0x71E /* 000065C8 */
00006CEA 6100 F654 bsr -0x9AA /* 00006340 */
00006CEE 6100 FB84 bsr -0x47A /* 00006874 */
00006CF2 6100 F69C bsr -0x962 /* 00006390 */
00006CF6 206D FEE8 movea.l A0, [A5 - 0x118]
00006CFA 4A68 0006 tst.w [A0 + 0x6]
label00006CFE:
00006CFE 4E75 rts
00006D00 6100 F1F2 bsr -0xE0C /* 00005EF4 */
fn00006D04:
00006D04 6100 F75E bsr -0x8A0 /* 00006464 */
00006D08 6100 F8BE bsr -0x740 /* 000065C8 */
00006D0C 6004 bra +0x6 /* 00006D12 */
00006D0E 6100 F1E4 bsr -0xE1A /* 00005EF4 */
fn00006D12:
00006D12 206D FEE8 movea.l A0, [A5 - 0x118]
00006D16 4A68 0006 tst.w [A0 + 0x6]
00006D1A 67E2 beq -0x1C /* 00006CFE */
00006D1C 3B50 FDBE move.w [A5 - 0x242], [A0]
00006D20 4250 clr.w [A0]
00006D22 6100 F740 bsr -0x8BE /* 00006464 */
00006D26 6100 F7A4 bsr -0x85A /* 000064CC */
00006D2A 6100 F642 bsr -0x9BC /* 0000636E */
00006D2E 6100 F840 bsr -0x7BE /* 00006570 */
00006D32 6514 bcs +0x16 /* 00006D48 */
00006D34 6100 F5E4 bsr -0xA1A /* 0000631A */
00006D38 6100 FB3A bsr -0x4C4 /* 00006874 */
00006D3C 6100 F6AE bsr -0x950 /* 000063EC */
00006D40 6100 F5FE bsr -0xA00 /* 00006340 */
00006D44 6100 F986 bsr -0x678 /* 000066CC */
label00006D48:
00006D48 6100 F71A bsr -0x8E4 /* 00006464 */
00006D4C 6100 F780 bsr -0x87E /* 000064CE */
00006D50 6100 F61C bsr -0x9E2 /* 0000636E */
00006D54 6100 F81A bsr -0x7E4 /* 00006570 */
00006D58 650A bcs +0xC /* 00006D64 */
00006D5A 0A6D 8000 FDBE xori.w [A5 - 0x242], 0x8000
00006D60 6100 F854 bsr -0x7AA /* 000065B6 */
label00006D64:
00006D64 6100 F6FE bsr -0x900 /* 00006464 */
00006D68 6100 F604 bsr -0x9FA /* 0000636E */
00006D6C 6100 F802 bsr -0x7FC /* 00006570 */
00006D70 650C bcs +0xE /* 00006D7E */
00006D72 6100 F6F0 bsr -0x90E /* 00006464 */
00006D76 6100 F756 bsr -0x8A8 /* 000064CE */
00006D7A 6100 F83A bsr -0x7C4 /* 000065B6 */
label00006D7E:
00006D7E 6100 F6E4 bsr -0x91A /* 00006464 */
00006D82 6100 F77C bsr -0x882 /* 00006500 */
00006D86 6100 F7E8 bsr -0x816 /* 00006570 */
00006D8A 6428 bcc +0x2A /* 00006DB4 */
00006D8C 6100 F4DA bsr -0xB24 /* 00006268 */
00006D90 FED8 6100 .extension 0xED8 <<F/2-3/7>> // unimplemented
00006D94 F822 6100 .tblXX 0xF822, 0x6100 // unimplemented
00006D98 F5F8 .invalid <<F/7/2>>
00006D9A 6100 F6F8 bsr -0x906 /* 00006494 */
00006D9E 7002 moveq.l D0, 0x02
00006DA0 4EBA 0020 jsr [PC + 0x20 /* 00006DC2 */]
00006DA4 206D FEE8 movea.l A0, [A5 - 0x118]
00006DA8 4A68 0006 tst.w [A0 + 0x6]
00006DAC 6704 beq +0x6 /* 00006DB2 */
00006DAE 30AD FDBE move.w [A0], [A5 - 0x242]
label00006DB2:
00006DB2 4E75 rts
label00006DB4:
00006DB4 206D FEEC movea.l A0, [A5 - 0x114]
00006DB8 30AD FDBE move.w [A0], [A5 - 0x242]
00006DBC 6100 F5C8 bsr -0xA36 /* 00006386 */
00006DC0 7003 moveq.l D0, 0x03
fn00006DC2:
00006DC2 3B40 FDBA move.w [A5 - 0x246], D0
00006DC6 7202 moveq.l D1, 0x02
00006DC8 303C 0080 move.w D0, 0x80
label00006DCC:
00006DCC 3B41 FDBC move.w [A5 - 0x244], D1
00006DD0 1B40 FDB8 move.b [A5 - 0x248], D0
00006DD4 6100 F474 bsr -0xB8A /* 0000624A */
00006DD8 FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
// begin alternate branch 00006DDA-00006DDE
label00006DDA:
00006DDA 6100 F46E bsr -0xB90 /* 0000624A */
// end alternate branch 00006DDA-00006DDE
label00006DDA: // (misaligned)
00006DDC F46E cpushl DATA, [A6]
00006DDE FEF8 6100 .extension 0xEF8 <<F/2-3/7>> // unimplemented
00006DE2 F5A4 .invalid <<F/6/2>>
00006DE4 6100 F8E6 bsr -0x718 /* 000066CC */
00006DE8 082D 0007 FDB8 btst.b [A5 - 0x248], 0x7
00006DEE 6708 beq +0xA /* 00006DF8 */
00006DF0 206D FEE8 movea.l A0, [A5 - 0x118]
00006DF4 30BC 8000 move.w [A0], 0x8000
label00006DF8:
00006DF8 6100 F450 bsr -0xBAE /* 0000624A */
00006DFC FEFC 6100 .extension 0xEFC <<F/2-3/7>> // unimplemented
// begin alternate branch 00006DFE-00006E02
fn00006DFE:
00006DFE 6100 F468 bsr -0xB96 /* 00006268 */
// end alternate branch 00006DFE-00006E02
fn00006DFE: // (misaligned)
00006E00 F468 cpushl DATA, [A0]
00006E02 FEF8 6100 .extension 0xEF8 <<F/2-3/7>> // unimplemented
00006E06 F45E cinva DATA
00006E08 FEFC 6100 .extension 0xEFC <<F/2-3/7>> // unimplemented
00006E0C F8C0 082D .extension 0x8C0 <<F/2-3/4>> // unimplemented
00006E10 0000 FDB8 ori.b D0, 0xB8
00006E14 6706 beq +0x8 /* 00006E1C */
00006E16 6100 F432 bsr -0xBCC /* 0000624A */
00006E1A FEF8 6100 .extension 0xEF8 <<F/2-3/7>> // unimplemented
// begin alternate branch 00006E1C-00006E20
label00006E1C:
00006E1C 6100 F572 bsr -0xA8C /* 00006390 */
// end alternate branch 00006E1C-00006E20
label00006E1C: // (misaligned)
00006E1E F572 .extension 0x572 <<F/4-5/2>> // unimplemented
00006E20 7000 moveq.l D0, 0x00
00006E22 302D FDBA move.w D0, [A5 - 0x246]
00006E26 322D FDBC move.w D1, [A5 - 0x244]
00006E2A D240 add.w D1, D0
00006E2C 3B41 FDBA move.w [A5 - 0x246], D1
00006E30 082D 0001 FDB8 btst.b [A5 - 0x248], 0x1
00006E36 6606 bne +0x8 /* 00006E3E */
00006E38 3200 move.w D1, D0
00006E3A 5341 subq.w D1, 1
00006E3C C0C1 mulu.w D0, D1
label00006E3E:
00006E3E 6100 F0B4 bsr -0xF4A /* 00005EF4 */
00006E42 6100 FA2C bsr -0x5D2 /* 00006870 */
00006E46 082D 0000 FDB8 btst.b [A5 - 0x248], 0x0
00006E4C 6606 bne +0x8 /* 00006E54 */
00006E4E 6100 F3FA bsr -0xC04 /* 0000624A */
00006E52 FEF8 082D .extension 0xEF8 <<F/2-3/7>> // unimplemented
// begin alternate branch 00006E54-00006E5A
label00006E54:
00006E54 082D 0002 FDB8 btst.b [A5 - 0x248], 0x2
// end alternate branch 00006E54-00006E5A
label00006E54: // (misaligned)
00006E56 0002 FDB8 ori.b D2, 0xB8
00006E5A 6704 beq +0x6 /* 00006E60 */
00006E5C 6100 F670 bsr -0x98E /* 000064CE */
label00006E60:
00006E60 6100 F402 bsr -0xBFC /* 00006264 */
00006E64 FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006E68 F4B8 cpusha INST
00006E6A 6100 F75C bsr -0x8A2 /* 000065C8 */
00006E6E 6100 F3DA bsr -0xC24 /* 0000624A */
00006E72 FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006E76 F4CA cinvl DATA+INST, [A2]
00006E78 6100 F71C bsr -0x8E2 /* 00006596 */
00006E7C 6680 bne -0x7E /* 00006DFE */
00006E7E 4E75 rts
fn00006E80:
00006E80 6100 F5D0 bsr -0xA2E /* 00006452 */
fn00006E84:
00006E84 6100 F49A bsr -0xB64 /* 00006320 */
00006E88 6100 F4FC bsr -0xB02 /* 00006386 */
00006E8C 6100 EFF4 bsr -0x100A /* 00005E82 */
00006E90 2F00 move.l -[A7], D0
00006E92 4840 swap.w D0
00006E94 3B40 FDBE move.w [A5 - 0x242], D0
00006E98 4840 swap.w D0
00006E9A 4A80 tst.l D0
00006E9C 6A02 bpl +0x4 /* 00006EA0 */
00006E9E 4480 neg.l D0
label00006EA0:
00006EA0 2B40 FDC0 move.l [A5 - 0x240], D0
00006EA4 201F move.l D0, [A7]+
00006EA6 6100 F04C bsr -0xFB2 /* 00005EF4 */
00006EAA 6100 F706 bsr -0x8F8 /* 000065B2 */
00006EAE 6100 F490 bsr -0xB6E /* 00006340 */
00006EB2 6100 F46C bsr -0xB92 /* 00006320 */
00006EB6 6100 F5DC bsr -0xA22 /* 00006494 */
00006EBA 6100 F38E bsr -0xC70 /* 0000624A */
00006EBE FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006EC2 F4AC cpushl INST, [A4]
label00006EC4:
00006EC4 6100 F384 bsr -0xC7A /* 0000624A */
00006EC8 FEF8 6100 .extension 0xEF8 <<F/2-3/7>> // unimplemented
00006ECC F39C .invalid <<F/6/1>>
00006ECE FEF4 202D .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006ED2 FDC0 .invalid <<F/7/6>>
00006ED4 672E beq +0x30 /* 00006F04 */
00006ED6 E288 lsr D0, 1
00006ED8 6506 bcs +0x8 /* 00006EE0 */
00006EDA 2B40 FDC0 move.l [A5 - 0x240], D0
00006EDE 6014 bra +0x16 /* 00006EF4 */
label00006EE0:
00006EE0 2B40 FDC0 move.l [A5 - 0x240], D0
00006EE4 6100 F37E bsr -0xC80 /* 00006264 */
00006EE8 FEF8 6100 .extension 0xEF8 <<F/2-3/7>> // unimplemented
00006EEC F7E0 .invalid <<F/7/3>>
00006EEE 6100 F35A bsr -0xCA4 /* 0000624A */
00006EF2 FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
// begin alternate branch 00006EF4-00006EF8
label00006EF4:
00006EF4 6100 F372 bsr -0xC8C /* 00006268 */
// end alternate branch 00006EF4-00006EF8
label00006EF4: // (misaligned)
00006EF6 F372 .extension 0x372 <<F/4-5/1>> // unimplemented
00006EF8 FEF8 6100 .extension 0xEF8 <<F/2-3/7>> // unimplemented
00006EFC F494 cinvp INST, [A4]
00006EFE 6100 F7CC bsr -0x832 /* 000066CC */
00006F02 60C0 bra -0x3E /* 00006EC4 */
label00006F04:
00006F04 302D FDBE move.w D0, [A5 - 0x242]
00006F08 670C beq +0xE /* 00006F16 */
00006F0A 6100 F484 bsr -0xB7A /* 00006390 */
00006F0E 6100 F584 bsr -0xA7A /* 00006494 */
00006F12 6100 F960 bsr -0x69E /* 00006874 */
label00006F16:
00006F16 6100 F428 bsr -0xBD6 /* 00006340 */
00006F1A 4E75 rts
00006F1C 2C1F move.l D6, [A7]+
00006F1E 6100 F420 bsr -0xBDE /* 00006340 */
00006F22 2F06 move.l -[A7], D6
00006F24 6100 F448 bsr -0xBB6 /* 0000636E */
00006F28 206D FEE8 movea.l A0, [A5 - 0x118]
00006F2C 4A68 0006 tst.w [A0 + 0x6]
00006F30 6700 F42C beq -0xBD2 /* 0000635E */
00006F34 6100 F3EA bsr -0xC14 /* 00006320 */
00006F38 6100 FF4A bsr -0xB4 /* 00006E84 */
00006F3C 226D FEEC movea.l A1, [A5 - 0x114]
00006F40 4A69 0006 tst.w [A1 + 0x6]
00006F44 67D0 beq -0x2E /* 00006F16 */
00006F46 6100 F426 bsr -0xBD8 /* 0000636E */
00006F4A 6100 F2FE bsr -0xD00 /* 0000624A */
00006F4E FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006F52 F3E8 .invalid <<F/7/1>>
00006F54 6100 F3C4 bsr -0xC3A /* 0000631A */
00006F58 6100 F414 bsr -0xBEA /* 0000636E */
00006F5C 6100 F30A bsr -0xCF4 /* 00006268 */
00006F60 FEF4 6100 .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006F64 F3BC .invalid <<F/6/1>>
00006F66 6100 F406 bsr -0xBF8 /* 0000636E */
00006F6A 6100 FC90 bsr -0x36E /* 00006BFC */
00006F6E 6100 F754 bsr -0x8AA /* 000066C4 */
00006F72 4EBA 000E jsr [PC + 0xE /* 00006F82 */]
00006F76 6100 F3C8 bsr -0xC36 /* 00006340 */
00006F7A 6000 F750 bra -0x8AE /* 000066CC */
00006F7E 6100 EF74 bsr -0x108A /* 00005EF4 */
fn00006F82:
00006F82 6100 FEFC bsr -0x102 /* 00006E80 */
00006F86 6100 F398 bsr -0xC66 /* 00006320 */
00006F8A 6100 F3E2 bsr -0xC1C /* 0000636E */
00006F8E 4EBA 000A jsr [PC + 0xA /* 00006F9A */]
00006F92 6100 F3AC bsr -0xC52 /* 00006340 */
00006F96 6000 F734 bra -0x8CA /* 000066CC */
fn00006F9A:
00006F9A 3F3C 0001 move.w -[A7], 0x1
label00006F9E:
00006F9E 206D FEE8 movea.l A0, [A5 - 0x118]
00006FA2 0C68 7FFF 0002 cmpi.w [A0 + 0x2], 0x7FFF
00006FA8 6610 bne +0x12 /* 00006FBA */
00006FAA 0C68 2000 0006 cmpi.w [A0 + 0x6], 0x2000 /* ' \0' */
00006FB0 6508 bcs +0xA /* 00006FBA */
00006FB2 5257 addq.w [A7], 1
00006FB4 6100 F54A bsr -0xAB4 /* 00006500 */
00006FB8 60E4 bra -0x1A /* 00006F9E */
label00006FBA:
00006FBA 6100 F28E bsr -0xD70 /* 0000624A */
00006FBE FEFC 6100 .extension 0xEFC <<F/2-3/7>> // unimplemented
00006FC2 F288 FEF8 .extension 0x288 <<F/2-3/1>> // unimplemented
00006FC6 6100 F3C8 bsr -0xC36 /* 00006390 */
00006FCA 6100 F4C8 bsr -0xB36 /* 00006494 */
00006FCE 6100 F5F8 bsr -0xA06 /* 000065C8 */
00006FD2 6100 F276 bsr -0xD88 /* 0000624A */
00006FD6 FEF4 3B7C .extension 0xEF4 <<F/2-3/7>> // unimplemented
00006FDA 0002 FDBA ori.b D2, 0xBA
00006FDE 3B7C 0001 FDBC move.w [A5 - 0x244], 0x1
00006FE4 1B7C 0002 FDB8 move.b [A5 - 0x248], 0x2
00006FEA 6100 FE12 bsr -0x1EC /* 00006DFE */
label00006FEE:
00006FEE 5357 subq.w [A7], 1
00006FF0 670A beq +0xC /* 00006FFC */
00006FF2 6100 F39C bsr -0xC62 /* 00006390 */
00006FF6 6100 F6D4 bsr -0x92A /* 000066CC */
00006FFA 60F2 bra -0xC /* 00006FEE */
label00006FFC:
00006FFC 548F addq.l A7, 2
00006FFE 4E75 rts
00007000 487A F2E8 pea.l [PC - 0xD18 /* 000062EA, value 0x302DFECA */]
00007004 487A F27C pea.l [PC - 0xD84 /* 00006282, value 0x6100FEFC, cstring "a" */]
00007008 6022 bra +0x24 /* 0000702C */
0000700A 487A F2DE pea.l [PC - 0xD22 /* 000062EA, value 0x302DFECA */]
0000700E 487A F272 pea.l [PC - 0xD8E /* 00006282, value 0x6100FEFC, cstring "a" */]
00007012 2F08 move.l -[A7], A0
00007014 6020 bra +0x22 /* 00007036 */
00007016 487A F28C pea.l [PC - 0xD74 /* 000062A4, value 0x3A2DFEC6 */]
0000701A 487A F1D0 pea.l [PC - 0xE30 /* 000061EC, value 0x302DFEC6 */]
0000701E 600C bra +0xE /* 0000702C */
00007020 487A F282 pea.l [PC - 0xD7E /* 000062A4, value 0x3A2DFEC6 */]
00007024 487A F1C6 pea.l [PC - 0xE3A /* 000061EC, value 0x302DFEC6 */]
00007028 2F08 move.l -[A7], A0
0000702A 600A bra +0xC /* 00007036 */
label0000702C:
0000702C 6100 F362 bsr -0xC9C /* 00006390 */
00007030 2F08 move.l -[A7], A0
00007032 6100 F460 bsr -0xB9E /* 00006494 */
label00007036:
00007036 6100 F336 bsr -0xCC8 /* 0000636E */
0000703A 6100 F20E bsr -0xDF0 /* 0000624A */
0000703E FEF4 206D .extension 0xEF4 <<F/2-3/7>> // unimplemented
00007042 FEEC 3B50 .extension 0xEEC <<F/2-3/7>> // unimplemented
00007046 FDC0 .invalid <<F/7/6>>
00007048 2057 movea.l A0, [A7]
0000704A 226F 0008 movea.l A1, [A7 + 0x8]
0000704E 4E91 jsr [A1]
00007050 6100 F576 bsr -0xA88 /* 000065C8 */
00007054 205F movea.l A0, [A7]+
00007056 225F movea.l A1, [A7]+
00007058 588F addq.l A7, 4
0000705A 4E91 jsr [A1]
0000705C 6100 F206 bsr -0xDF8 /* 00006264 */
00007060 FEF4 4A6D .extension 0xEF4 <<F/2-3/7>> // unimplemented
00007064 FDC0 .invalid <<F/7/6>>
00007066 6A00 F508 bpl -0xAF6 /* 00006570 */
0000706A 6000 F50E bra -0xAF0 /* 0000657A */
0000706E 0645 7272 addi.w D5, 0x7272 /* 'rr' */
00007072 6F72 ble +0x74 /* 000070E6 */
00007074 2E00 move.l D7, D0
label00007076:
00007076 41FA FFF6 lea.l A0, [PC - 0xA /* 0000706E, value 0x6457272, pstring "Error." */]
0000707A 4E71 nop
fn0000707C:
0000707C 43ED FDC4 lea.l A1, [A5 - 0x23C]
00007080 2649 movea.l A3, A1
00007082 7000 moveq.l D0, 0x00
00007084 1010 move.b D0, [A0]
00007086 3E00 move.w D7, D0
label00007088:
00007088 12D8 move.b [A1]+, [A0]+
0000708A 51C8 FFFC dbf D0, -0x6 /* 00007088 */
0000708E 224B movea.l A1, A3
00007090 204B movea.l A0, A3
00007092 4E75 rts
00007094 6104 bsr +0x6 /* 0000709A */
00007096 4EFA A068 jmp [PC - 0x5F98 /* 00001100 */]
fn0000709A:
0000709A 61E0 bsr -0x1E /* 0000707C */
0000709C 206D FEE8 movea.l A0, [A5 - 0x118]
label000070A0:
000070A0 246D FEF4 movea.l A2, [A5 - 0x10C]
000070A4 702B moveq.l D0, 0x2B
000070A6 6164 bsr +0x66 /* 0000710C */
000070A8 702D moveq.l D0, 0x2D
000070AA 6160 bsr +0x62 /* 0000710C */
000070AC 702E moveq.l D0, 0x2E
000070AE 616C bsr +0x6E /* 0000711C */
000070B0 6702 beq +0x4 /* 000070B4 */
000070B2 7AFF moveq.l D5, 0xFFFFFFFF
label000070B4:
000070B4 3805 move.w D4, D5
000070B6 7023 moveq.l D0, 0x23
000070B8 7200 moveq.l D1, 0x00
000070BA 7400 moveq.l D2, 0x00
000070BC 614E bsr +0x50 /* 0000710C */
000070BE 66B6 bne -0x48 /* 00007076 */
label000070C0:
000070C0 BA44 cmp.w D5, D4
000070C2 6402 bcc +0x4 /* 000070C6 */
000070C4 5241 addq.w D1, 1
label000070C6:
000070C6 5242 addq.w D2, 1
000070C8 615E bsr +0x60 /* 00007128 */
000070CA 67F4 beq -0xA /* 000070C0 */
000070CC 34C1 move.w [A2]+, D1
000070CE 34C2 move.w [A2]+, D2
000070D0 705E moveq.l D0, 0x5E
000070D2 6138 bsr +0x3A /* 0000710C */
000070D4 660C bne +0xE /* 000070E2 */
000070D6 7E03 moveq.l D7, 0x03
label000070D8:
000070D8 B01B cmp.b D0, [A3]+
000070DA 56CF FFFC dbne D7, -0x6 /* 000070D8 */
000070DE 6702 beq +0x4 /* 000070E2 */
000070E0 4262 clr.w -[A2]
label000070E2:
000070E2 246D FEF4 movea.l A2, [A5 - 0x10C]
label000070E6:
000070E6 4A50 tst.w [A0]
000070E8 6700 0132 beq +0x134 /* 0000721C */
000070EC 4AAA 0000 tst.l [A2 + 0x0]
000070F0 6600 012A bne +0x12C /* 0000721C */
000070F4 4A6A 0006 tst.w [A2 + 0x6]
000070F8 6700 FF7C beq -0x82 /* 00007076 */
000070FC 302A 0004 move.w D0, [A2 + 0x4]
00007100 43ED FDC4 lea.l A1, [A5 - 0x23C]
00007104 13BC 002D 0000 move.b [A1 + D0.w], 0x2D /* '-' */
0000710A 6094 bra -0x6A /* 000070A0 */
fn0000710C:
0000710C 610E bsr +0x10 /* 0000711C */
0000710E 6706 beq +0x8 /* 00007116 */
00007110 425A clr.w [A2]+
00007112 4A47 tst.w D7
00007114 4E75 rts
label00007116:
00007116 34C5 move.w [A2]+, D5
00007118 BA45 cmp.w D5, D5
0000711A 4E75 rts
fn0000711C:
0000711C 47ED FDC4 lea.l A3, [A5 - 0x23C]
00007120 7A00 moveq.l D5, 0x00
00007122 3E05 move.w D7, D5
00007124 1E13 move.b D7, [A3]
00007126 5347 subq.w D7, 1
fn00007128:
00007128 528B addq.l A3, 1
0000712A 5245 addq.w D5, 1
0000712C B013 cmp.b D0, [A3]
0000712E 57CF FFF8 dbeq D7, -0xA /* 00007128 */
00007132 4E75 rts
fn00007134:
00007134 7023 moveq.l D0, 0x23
00007136 61E4 bsr -0x1A /* 0000711C */
00007138 224B movea.l A1, A3
0000713A B040 cmp.w D0, D0
0000713C 6006 bra +0x8 /* 00007144 */
label0000713E:
0000713E 16BC 0020 move.b [A3], 0x20 /* ' ' */
00007142 61E4 bsr -0x1A /* 00007128 */
label00007144:
00007144 56C9 FFF8 dbne D1, -0xA /* 0000713E */
label00007148:
00007148 B3CB cmpa.l A1, A3
0000714A 6712 beq +0x14 /* 0000715E */
0000714C 0C19 002C cmpi.b [A1]+, 0x2C /* ',' */
00007150 66F6 bne -0x8 /* 00007148 */
00007152 133C 0020 move.b -[A1], 0x20 /* ' ' */
00007156 60F0 bra -0xE /* 00007148 */
label00007158:
00007158 16BC 0030 move.b [A3], 0x30 /* '0' */
0000715C 61CA bsr -0x34 /* 00007128 */
label0000715E:
0000715E 56CA FFF8 dbne D2, -0xA /* 00007158 */
00007162 43E8 0006 lea.l A1, [A0 + 0x6]
00007166 7400 moveq.l D2, 0x00
00007168 6014 bra +0x16 /* 0000717E */
label0000716A:
0000716A 51CA 0008 dbf D2, +0xA /* 00007174 */
0000716E 3219 move.w D1, [A1]+
00007170 4841 swap.w D1
00007172 7403 moveq.l D2, 0x03
label00007174:
00007174 323C 0003 move.w D1, 0x3
00007178 E999 rol D1, 4
0000717A 1681 move.b [A3], D1
0000717C 61AA bsr -0x54 /* 00007128 */
label0000717E:
0000717E 56CB FFEA dbne D3, -0x18 /* 0000716A */
00007182 6006 bra +0x8 /* 0000718A */
label00007184:
00007184 16BC 0030 move.b [A3], 0x30 /* '0' */
00007188 619E bsr -0x60 /* 00007128 */
label0000718A:
0000718A 56CC FFF8 dbne D4, -0xA /* 00007184 */
0000718E 4E75 rts
fn00007190:
00007190 6602 bne +0x4 /* 00007194 */
00007192 4E75 rts
label00007194:
00007194 43ED FDC4 lea.l A1, [A5 - 0x23C]
00007198 43F1 2000 lea.l A1, [A1 + D2.w]
0000719C 1281 move.b [A1], D1
0000719E 7220 moveq.l D1, 0x20
000071A0 4A50 tst.w [A0]
000071A2 6704 beq +0x6 /* 000071A8 */
000071A4 702D moveq.l D0, 0x2D
000071A6 1280 move.b [A1], D0
fn000071A8:
000071A8 6100 FF72 bsr -0x8C /* 0000711C */
000071AC 6604 bne +0x6 /* 000071B2 */
000071AE B645 cmp.w D3, D5
000071B0 6402 bcc +0x4 /* 000071B4 */
label000071B2:
000071B2 4E75 rts
label000071B4:
000071B4 16C1 move.b [A3]+, D1
000071B6 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
000071BA 56CF FFF8 dbne D7, -0xA /* 000071B4 */
000071BE 1700 move.b -[A3], D0
000071C0 4E75 rts
label000071C2:
000071C2 6100 FF70 bsr -0x8E /* 00007134 */
000071C6 362A 0004 move.w D3, [A2 + 0x4]
000071CA 702B moveq.l D0, 0x2B
000071CC 722B moveq.l D1, 0x2B
000071CE 342A 0000 move.w D2, [A2 + 0x0]
000071D2 61BC bsr -0x42 /* 00007190 */
000071D4 702D moveq.l D0, 0x2D
000071D6 7220 moveq.l D1, 0x20
000071D8 342A 0002 move.w D2, [A2 + 0x2]
000071DC 61B2 bsr -0x4C /* 00007190 */
000071DE 7024 moveq.l D0, 0x24
000071E0 61C6 bsr -0x38 /* 000071A8 */
000071E2 702A moveq.l D0, 0x2A
000071E4 722A moveq.l D1, 0x2A
000071E6 61C0 bsr -0x3E /* 000071A8 */
000071E8 3E2A 000A move.w D7, [A2 + 0xA]
000071EC 6728 beq +0x2A /* 00007216 */
000071EE 487A 001C pea.l [PC + 0x1C /* 0000720C, value 0x10FC0020 */]
000071F2 3C28 0002 move.w D6, [A0 + 0x2]
000071F6 0446 7FFF subi.w D6, 0x7FFF
000071FA 9C6A 0006 sub.w D6, [A2 + 0x6]
000071FE 3F06 move.w -[A7], D6
00007200 41ED FDC4 lea.l A0, [A5 - 0x23C]
00007204 41F0 7000 lea.l A0, [A0 + D7.w]
00007208 6000 EDE2 bra -0x121C /* 00005FEC */
label0000720C:
0000720C 10FC 0020 move.b [A0]+, 0x20 /* ' ' */
00007210 0C10 005E cmpi.b [A0], 0x5E /* '^' */
00007214 67F6 beq -0x8 /* 0000720C */
label00007216:
00007216 41ED FDC4 lea.l A0, [A5 - 0x23C]
0000721A 4E75 rts
label0000721C:
0000721C 7800 moveq.l D4, 0x00
0000721E 3428 0002 move.w D2, [A0 + 0x2]
00007222 322A 0006 move.w D1, [A2 + 0x6]
00007226 362A 0008 move.w D3, [A2 + 0x8]
0000722A 4A6A 000A tst.w [A2 + 0xA]
0000722E 6712 beq +0x14 /* 00007242 */
00007230 7200 moveq.l D1, 0x00
00007232 7400 moveq.l D2, 0x00
00007234 4A68 0006 tst.w [A0 + 0x6]
00007238 662A bne +0x2C /* 00007264 */
0000723A 317C 8000 0002 move.w [A0 + 0x2], 0x8000
00007240 6022 bra +0x24 /* 00007264 */
label00007242:
00007242 0442 8000 subi.w D2, 0x8000
00007246 6B10 bmi +0x12 /* 00007258 */
00007248 9441 sub.w D2, D1
0000724A 6A00 FE2A bpl -0x1D4 /* 00007076 */
0000724E 4642 not.w D2
00007250 3202 move.w D1, D2
00007252 7400 moveq.l D2, 0x00
00007254 9641 sub.w D3, D1
00007256 600C bra +0xE /* 00007264 */
label00007258:
00007258 4642 not.w D2
0000725A 9641 sub.w D3, D1
0000725C 9642 sub.w D3, D2
0000725E 6A04 bpl +0x6 /* 00007264 */
00007260 D443 add.w D2, D3
00007262 7600 moveq.l D3, 0x00
label00007264:
00007264 3A2D FED0 move.w D5, [A5 - 0x130]
00007268 5445 addq.w D5, 2
0000726A BA43 cmp.w D5, D3
0000726C 6A06 bpl +0x8 /* 00007274 */
0000726E 3803 move.w D4, D3
00007270 3605 move.w D3, D5
00007272 9843 sub.w D4, D3
label00007274:
00007274 4A43 tst.w D3
00007276 660C bne +0xE /* 00007284 */
00007278 4A42 tst.w D2
0000727A 6608 bne +0xA /* 00007284 */
0000727C 4A41 tst.w D1
0000727E 6704 beq +0x6 /* 00007284 */
00007280 5341 subq.w D1, 1
00007282 7401 moveq.l D2, 0x01
label00007284:
00007284 4A44 tst.w D4
00007286 6644 bne +0x46 /* 000072CC */
00007288 7000 moveq.l D0, 0x00
0000728A 47ED FDC0 lea.l A3, [A5 - 0x240]
0000728E 302D FEC8 move.w D0, [A5 - 0x138]
00007292 E148 lsl D0.w, 8
00007294 3E03 move.w D7, D3
00007296 E24F lsr D7.w, 1
00007298 6402 bcc +0x4 /* 0000729C */
0000729A E848 lsr D0.w, 4
label0000729C:
0000729C 26C0 move.l [A3]+, D0
0000729E 226D FEE8 movea.l A1, [A5 - 0x118]
000072A2 43F1 7008 lea.l A1, [A1 + D7.w + 0x8]
000072A6 C30B abcd -[A1], -[A3]
000072A8 C30B abcd -[A1], -[A3]
000072AA 6006 bra +0x8 /* 000072B2 */
label000072AC:
000072AC C30B abcd -[A1], -[A3]
000072AE 47EB 0001 lea.l A3, [A3 + 0x1]
label000072B2:
000072B2 54CF FFF8 dbcc D7, -0xA /* 000072AC */
000072B6 6414 bcc +0x16 /* 000072CC */
000072B8 2010 move.l D0, [A0]
000072BA 6100 F0A2 bsr -0xF5C /* 0000635E */
000072BE 5240 addq.w D0, 1
000072C0 2080 move.l [A0], D0
000072C2 317C 1000 0006 move.w [A0 + 0x6], 0x1000
000072C8 6000 FF52 bra -0xAC /* 0000721C */
label000072CC:
000072CC 6000 FEF4 bra -0x10A /* 000071C2 */
label000072D0:
000072D0 7C09 moveq.l D6, 0x09
000072D2 47ED F712 lea.l A3, [A5 - 0x8EE]
label000072D6:
000072D6 4A93 tst.l [A3]
000072D8 6702 beq +0x4 /* 000072DC */
000072DA 6108 bsr +0xA /* 000072E4 */
label000072DC:
000072DC 588B addq.l A3, 4
000072DE 51CE FFF6 dbf D6, -0xC /* 000072D6 */
000072E2 4E75 rts
fn000072E4:
000072E4 2053 movea.l A0, [A3]
000072E6 4293 clr.l [A3]
000072E8 A023 syscall DisposHandle/DisposeHandle
000072EA 4E75 rts
fn000072EC:
000072EC 4A80 tst.l D0
000072EE 6BE0 bmi -0x1E /* 000072D0 */
000072F0 4A81 tst.l D1
000072F2 6BDC bmi -0x22 /* 000072D0 */
000072F4 0C40 000A cmpi.w D0, 0xA /* '\n' */
000072F8 6442 bcc +0x44 /* 0000733C */
000072FA E548 lsl D0.w, 2
000072FC 47ED F712 lea.l A3, [A5 - 0x8EE]
00007300 47F3 0000 lea.l A3, [A3 + D0.w]
00007304 4A93 tst.l [A3]
00007306 6710 beq +0x12 /* 00007318 */
00007308 4A81 tst.l D1
0000730A 67D8 beq -0x26 /* 000072E4 */
0000730C 2053 movea.l A0, [A3]
0000730E 2050 movea.l A0, [A0]
00007310 B2A8 0004 cmp.l D1, [A0 + 0x4]
00007314 6428 bcc +0x2A /* 0000733E */
00007316 61CC bsr -0x32 /* 000072E4 */
label00007318:
00007318 4A81 tst.l D1
0000731A 6720 beq +0x22 /* 0000733C */
0000731C 2E01 move.l D7, D1
0000731E 2001 move.l D0, D1
00007320 0680 0000 000C addi.l D0, 0xC
00007326 A322 syscall NewHandleClear, flags=3
00007328 4A40 tst.w D0
0000732A 6610 bne +0x12 /* 0000733C */
0000732C 2688 move.l [A3], A0
0000732E 2250 movea.l A1, [A0]
00007330 2347 0000 move.l [A1 + 0x0], D7
00007334 42A9 0004 clr.l [A1 + 0x4]
00007338 42A9 0008 clr.l [A1 + 0x8]
label0000733C:
0000733C 4E75 rts
label0000733E:
0000733E 2053 movea.l A0, [A3]
00007340 2E01 move.l D7, D1
00007342 2001 move.l D0, D1
00007344 0680 0000 000C addi.l D0, 0xC
0000734A A224 syscall SetHandleSize, flags=2
0000734C 4A40 tst.w D0
0000734E 6608 bne +0xA /* 00007358 */
00007350 2053 movea.l A0, [A3]
00007352 2250 movea.l A1, [A0]
00007354 2347 0000 move.l [A1 + 0x0], D7
label00007358:
00007358 4E75 rts
0000735A 4A80 tst.l D0
0000735C 6B48 bmi +0x4A /* 000073A6 */
0000735E 80FC 000A divu.w D0, 0xA /* '\n' */
00007362 4840 swap.w D0
00007364 615A bsr +0x5C /* 000073C0 */
00007366 673A beq +0x3C /* 000073A2 */
00007368 4240 clr.w D0
0000736A 4840 swap.w D0
0000736C 4A40 tst.w D0
0000736E 660A bne +0xC /* 0000737A */
00007370 2028 0000 move.l D0, [A0 + 0x0]
00007374 90A8 0004 sub.l D0, [A0 + 0x4]
00007378 4E75 rts
label0000737A:
0000737A 5340 subq.w D0, 1
0000737C 6606 bne +0x8 /* 00007384 */
0000737E 2028 0008 move.l D0, [A0 + 0x8]
00007382 4E75 rts
label00007384:
00007384 5340 subq.w D0, 1
00007386 6606 bne +0x8 /* 0000738E */
00007388 2028 0004 move.l D0, [A0 + 0x4]
0000738C 4E75 rts
label0000738E:
0000738E 5340 subq.w D0, 1
00007390 6606 bne +0x8 /* 00007398 */
00007392 2028 0000 move.l D0, [A0 + 0x0]
00007396 4E75 rts
label00007398:
00007398 5340 subq.w D0, 1
0000739A 41F0 000C lea.l A0, [A0 + D0.w + 0xC]
0000739E 2008 move.l D0, A0
000073A0 4E75 rts
label000073A2:
000073A2 7000 moveq.l D0, 0x00
000073A4 4E75 rts
label000073A6:
000073A6 5280 addq.l D0, 1
000073A8 6606 bne +0x8 /* 000073B0 */
000073AA A11D syscall MaxMem, flags=1
000073AC D088 add.l D0, A0
000073AE 4E75 rts
label000073B0:
000073B0 5280 addq.l D0, 1
000073B2 6604 bne +0x6 /* 000073B8 */
000073B4 A01C syscall FreeMem
000073B6 4E75 rts
label000073B8:
000073B8 5580 subq.l D0, 2
000073BA 4480 neg.l D0
000073BC A04C syscall CompactMem
000073BE 4E75 rts
fn000073C0:
000073C0 0C40 000A cmpi.w D0, 0xA /* '\n' */
000073C4 6416 bcc +0x18 /* 000073DC */
000073C6 E548 lsl D0.w, 2
000073C8 41ED F712 lea.l A0, [A5 - 0x8EE]
000073CC 4AB0 0000 tst.l [A0 + D0.w]
000073D0 670A beq +0xC /* 000073DC */
000073D2 2270 0000 movea.l A1, [A0 + D0.w]
000073D6 2051 movea.l A0, [A1]
000073D8 4A91 tst.l [A1]
000073DA 4E75 rts
label000073DC:
000073DC 41FA 0006 lea.l A0, [PC + 0x6 /* 000073E4, value 0x61D8, cstring "" */]
000073E0 7000 moveq.l D0, 0x00
000073E2 4E75 rts
000073E4 0000 61D8 ori.b D0, 0xD8
000073E8 6708 beq +0xA /* 000073F2 */
000073EA 42A8 0004 clr.l [A0 + 0x4]
000073EE 42A8 0008 clr.l [A0 + 0x8]
label000073F2:
000073F2 4E75 rts
000073F4 4EBA 00B8 jsr [PC + 0xB8 /* 000074AE */]
000073F8 653A bcs +0x3C /* 00007434 */
000073FA 7000 moveq.l D0, 0x00
000073FC 7200 moveq.l D1, 0x00
000073FE 1210 move.b D1, [A0]
00007400 102D F90E move.b D0, [A5 - 0x6F2]
00007404 9081 sub.l D0, D1
00007406 6022 bra +0x24 /* 0000742A */
00007408 4EBA 00A4 jsr [PC + 0xA4 /* 000074AE */]
0000740C 6526 bcs +0x28 /* 00007434 */
0000740E 7200 moveq.l D1, 0x00
00007410 122D F90E move.b D1, [A5 - 0x6F2]
00007414 D2A9 0004 add.l D1, [A1 + 0x4]
00007418 B2A9 0000 cmp.l D1, [A1 + 0x0]
0000741C 6416 bcc +0x18 /* 00007434 */
0000741E 52A9 0008 addq.l [A1 + 0x8], 1
00007422 7000 moveq.l D0, 0x00
00007424 102D F90E move.b D0, [A5 - 0x6F2]
00007428 5280 addq.l D0, 1
label0000742A:
0000742A 4EBA 00E4 jsr [PC + 0xE4 /* 00007510 */]
0000742E 6504 bcs +0x6 /* 00007434 */
00007430 4EFA 011E jmp [PC + 0x11E /* 00007550 */]
label00007434:
00007434 426D F90E clr.w [A5 - 0x6F2]
00007438 4E75 rts
0000743A 615C bsr +0x5E /* 00007498 */
0000743C 650E bcs +0x10 /* 0000744C */
0000743E 53A9 0008 subq.l [A1 + 0x8], 1
00007442 7000 moveq.l D0, 0x00
00007444 1010 move.b D0, [A0]
00007446 4680 not.l D0
00007448 4EFA 00C6 jmp [PC + 0xC6 /* 00007510 */]
label0000744C:
0000744C 4E75 rts
0000744E 2F08 move.l -[A7], A0
00007450 2F01 move.l -[A7], D1
00007452 4EBA 005A jsr [PC + 0x5A /* 000074AE */]
00007456 6534 bcs +0x36 /* 0000748C */
00007458 2E29 0008 move.l D7, [A1 + 0x8]
0000745C 2C1F move.l D6, [A7]+
0000745E 9E86 sub.l D7, D6
00007460 265F movea.l A3, [A7]+
00007462 1613 move.b D3, [A3]
00007464 672A beq +0x2C /* 00007490 */
00007466 7800 moveq.l D4, 0x00
label00007468:
00007468 244B movea.l A2, A3
0000746A 7600 moveq.l D3, 0x00
0000746C 161A move.b D3, [A2]+
0000746E 1818 move.b D4, [A0]+
00007470 43F0 4000 lea.l A1, [A0 + D4.w]
00007474 B803 cmp.b D4, D3
00007476 650A bcs +0xC /* 00007482 */
00007478 5343 subq.w D3, 1
label0000747A:
0000747A B508 cmpm.b [A2]+, [A0]+
0000747C 56CB FFFC dbne D3, -0x6 /* 0000747A */
00007480 6712 beq +0x14 /* 00007494 */
label00007482:
00007482 2049 movea.l A0, A1
00007484 5286 addq.l D6, 1
00007486 5387 subq.l D7, 1
00007488 66DE bne -0x20 /* 00007468 */
0000748A 6004 bra +0x6 /* 00007490 */
label0000748C:
0000748C 201F move.l D0, [A7]+
0000748E 205F movea.l A0, [A7]+
label00007490:
00007490 70FF moveq.l D0, 0xFFFFFFFF
00007492 4E75 rts
label00007494:
00007494 2006 move.l D0, D6
00007496 4E75 rts
fn00007498:
00007498 6100 FF26 bsr -0xD8 /* 000073C0 */
0000749C 6706 beq +0x8 /* 000074A4 */
0000749E B2A8 0008 cmp.l D1, [A0 + 0x8]
000074A2 6510 bcs +0x12 /* 000074B4 */
label000074A4:
000074A4 41FA FF3E lea.l A0, [PC - 0xC2 /* 000073E4, value 0x61D8, cstring "" */]
000074A8 003C 00FF ori.b ccr, 255
000074AC 4E75 rts
fn000074AE:
000074AE 6100 FF10 bsr -0xEE /* 000073C0 */
000074B2 67F0 beq -0xE /* 000074A4 */
label000074B4:
000074B4 43E8 000C lea.l A1, [A0 + 0xC]
000074B8 B2A8 0008 cmp.l D1, [A0 + 0x8]
000074BC 6412 bcc +0x14 /* 000074D0 */
000074BE 5281 addq.l D1, 1
000074C0 7400 moveq.l D2, 0x00
000074C2 6004 bra +0x6 /* 000074C8 */
label000074C4:
000074C4 1419 move.b D2, [A1]+
000074C6 D2C2 add.w A1, D2
label000074C8:
000074C8 5381 subq.l D1, 1
000074CA 66F8 bne -0x6 /* 000074C4 */
000074CC C149 exg A0, A1
000074CE 4E75 rts
label000074D0:
000074D0 4A81 tst.l D1
000074D2 6BD0 bmi -0x2E /* 000074A4 */
000074D4 5281 addq.l D1, 1
000074D6 2401 move.l D2, D1
000074D8 94A8 0008 sub.l D2, [A0 + 0x8]
000074DC 2802 move.l D4, D2
000074DE D4A8 0004 add.l D2, [A0 + 0x4]
000074E2 B4A8 0000 cmp.l D2, [A0 + 0x0]
000074E6 64BC bcc -0x42 /* 000074A4 */
000074E8 2141 0008 move.l [A0 + 0x8], D1
000074EC 2628 0004 move.l D3, [A0 + 0x4]
000074F0 2142 0004 move.l [A0 + 0x4], D2
000074F4 43F0 380C lea.l A1, [A0 + D3 + 0xC]
label000074F8:
000074F8 5384 subq.l D4, 1
000074FA 6704 beq +0x6 /* 00007500 */
000074FC 4219 clr.b [A1]+
000074FE 60F8 bra -0x6 /* 000074F8 */
label00007500:
00007500 4211 clr.b [A1]
00007502 C149 exg A0, A1
00007504 4E75 rts
label00007506:
00007506 205F movea.l A0, [A7]+
00007508 225F movea.l A1, [A7]+
0000750A 003C 00FF ori.b ccr, 255
label0000750E:
0000750E 4E75 rts
fn00007510:
00007510 4A80 tst.l D0
00007512 67FA beq -0x4 /* 0000750E */
00007514 45E9 000C lea.l A2, [A1 + 0xC]
00007518 220A move.l D1, A2
0000751A D2A9 0004 add.l D1, [A1 + 0x4]
0000751E 2F09 move.l -[A7], A1
00007520 2F08 move.l -[A7], A0
00007522 4A80 tst.l D0
00007524 6A06 bpl +0x8 /* 0000752C */
00007526 7400 moveq.l D2, 0x00
00007528 1418 move.b D2, [A0]+
0000752A D1C2 add.l A0, D2
label0000752C:
0000752C 2400 move.l D2, D0
0000752E D4A9 0004 add.l D2, [A1 + 0x4]
00007532 B4A9 0000 cmp.l D2, [A1 + 0x0]
00007536 62CE bhi -0x30 /* 00007506 */
00007538 2342 0004 move.l [A1 + 0x4], D2
0000753C 2248 movea.l A1, A0
0000753E D3C0 add.l A1, D0
00007540 9288 sub.l D1, A0
00007542 6704 beq +0x6 /* 00007548 */
00007544 2001 move.l D0, D1
00007546 A02E syscall BlockMove/BlockMoveData
label00007548:
00007548 205F movea.l A0, [A7]+
0000754A 225F movea.l A1, [A7]+
0000754C B040 cmp.w D0, D0
0000754E 4E75 rts
label00007550:
00007550 45ED F90E lea.l A2, [A5 - 0x6F2]
00007554 7000 moveq.l D0, 0x00
00007556 1012 move.b D0, [A2]
label00007558:
00007558 10DA move.b [A0]+, [A2]+
0000755A 51C8 FFFC dbf D0, -0x6 /* 00007558 */
0000755E 426D F90E clr.w [A5 - 0x6F2]
00007562 4E75 rts